The branch master has been updated
via 44bf7119d67272dbbe3a96c58b842aff8d93c1b4 (commit)
from c7b5b9f4b1ec24743da20926f50418ba9fa92e87 (commit)
- Log -----------------------------------------------------------------
commit 44bf7119d67272dbbe3a96c58b842aff8d93c1b4
Author: Andy Polyakov <[email protected]>
Date: Wed Dec 2 14:26:03 2015 +0100
modes/ocb128.c: fix overstep.
Reviewed-by: Richard Levitte <[email protected]>
-----------------------------------------------------------------------
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++;
}
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits