diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_ctx.c')
-rw-r--r-- | src/lib/libcrypto/bn/bn_ctx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_ctx.c b/src/lib/libcrypto/bn/bn_ctx.c index 0d64ccab93..8ac1685a00 100644 --- a/src/lib/libcrypto/bn/bn_ctx.c +++ b/src/lib/libcrypto/bn/bn_ctx.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_ctx.c,v 1.16 2019/08/20 10:59:09 schwarze Exp $ */ | 1 | /* $OpenBSD: bn_ctx.c,v 1.17 2022/11/26 13:56:33 jsing Exp $ */ |
2 | /* Written by Ulf Moeller for the OpenSSL project. */ | 2 | /* Written by Ulf Moeller for the OpenSSL project. */ |
3 | /* ==================================================================== | 3 | /* ==================================================================== |
4 | * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. | 4 | * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. |
@@ -471,7 +471,6 @@ BN_POOL_release(BN_POOL *p, unsigned int num) | |||
471 | 471 | ||
472 | p->used -= num; | 472 | p->used -= num; |
473 | while (num--) { | 473 | while (num--) { |
474 | bn_check_top(p->current->vals + offset); | ||
475 | if (!offset) { | 474 | if (!offset) { |
476 | offset = BN_CTX_POOL_SIZE - 1; | 475 | offset = BN_CTX_POOL_SIZE - 1; |
477 | p->current = p->current->prev; | 476 | p->current = p->current->prev; |