summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/bn/bn_test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_test.c b/src/regress/lib/libcrypto/bn/bn_test.c
index aeb2134c4b..4aeb3ee284 100644
--- a/src/regress/lib/libcrypto/bn/bn_test.c
+++ b/src/regress/lib/libcrypto/bn/bn_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_test.c,v 1.21 2025/01/22 10:12:28 tb Exp $ */ 1/* $OpenBSD: bn_test.c,v 1.22 2025/01/22 13:02:14 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -589,8 +589,6 @@ test_div_recp(BIO *bp, BN_CTX *ctx)
589 CHECK_GOTO(BN_add_word(a, i)); 589 CHECK_GOTO(BN_add_word(a, i));
590 } else 590 } else
591 CHECK_GOTO(BN_bntest_rand(b, 50 + 3 * (i - num1), 0, 0)); 591 CHECK_GOTO(BN_bntest_rand(b, 50 + 3 * (i - num1), 0, 0));
592 BN_set_negative(a, rand_neg());
593 BN_set_negative(b, rand_neg());
594 BN_RECP_CTX_free(recp); 592 BN_RECP_CTX_free(recp);
595 CHECK_GOTO(recp = BN_RECP_CTX_create(b)); 593 CHECK_GOTO(recp = BN_RECP_CTX_create(b));
596 CHECK_GOTO(BN_div_reciprocal(d, c, a, recp, ctx)); 594 CHECK_GOTO(BN_div_reciprocal(d, c, a, recp, ctx));