Commit 44bf7119 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

modes/ocb128.c: fix overstep.

parent c7b5b9f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;
    }