modes/ocb128.c: fix overstep.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
c7b5b9f4b1
commit
44bf7119d6
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue