提交 44bf7119 编写于 作者: A Andy Polyakov

modes/ocb128.c: fix overstep.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 c7b5b9f4
......@@ -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++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册