From c2dba93e639639bdac139b3a3a456d10ddc61f79 Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Fri, 1 May 2015 18:50:34 +0300 Subject: Fix tail handling in buf_xor_1 * cipher/bufhelp.h (buf_xor_1): Increment source pointer at tail handling. -- Signed-off-by: Jussi Kivilinna --- cipher/bufhelp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipher/bufhelp.h b/cipher/bufhelp.h index fb87939b..c1aa52e0 100644 --- a/cipher/bufhelp.h +++ b/cipher/bufhelp.h @@ -162,7 +162,7 @@ do_bytes: #endif /* Handle tail. */ for (; len; len--) - *dst++ ^= *src; + *dst++ ^= *src++; } -- cgit v1.2.1