[openssl-commits] [openssl] master update
Andy Polyakov
appro at openssl.org
Thu Dec 10 11:35:26 UTC 2015
The branch master has been updated
via 44bf7119d67272dbbe3a96c58b842aff8d93c1b4 (commit)
from c7b5b9f4b1ec24743da20926f50418ba9fa92e87 (commit)
- Log -----------------------------------------------------------------
commit 44bf7119d67272dbbe3a96c58b842aff8d93c1b4
Author: Andy Polyakov <appro at openssl.org>
Date: Wed Dec 2 14:26:03 2015 +0100
modes/ocb128.c: fix overstep.
Reviewed-by: Richard Levitte <levitte at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
crypto/modes/ocb128.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/modes/ocb128.c b/crypto/modes/ocb128.c
index 6206755..3a3f7a8 100644
--- a/crypto/modes/ocb128.c
+++ b/crypto/modes/ocb128.c
@@ -162,7 +162,7 @@ static OCB_BLOCK *ocb_lookup_l(OCB128_CONTEXT *ctx, size_t idx)
if (!ctx->l)
return NULL;
}
- while (l_index <= idx) {
+ while (l_index < idx) {
ocb_double(ctx->l + l_index, ctx->l + l_index + 1);
l_index++;
}
More information about the openssl-commits
mailing list