diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/bn/bn_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_test.c b/src/regress/lib/libcrypto/bn/bn_test.c index d3fe485ec8..aeb2134c4b 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.20 2025/01/21 15:45:13 tb Exp $ */ | 1 | /* $OpenBSD: bn_test.c,v 1.21 2025/01/22 10:12:28 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 | * |
| @@ -224,7 +224,7 @@ main(int argc, char *argv[]) | |||
| 224 | goto err; | 224 | goto err; |
| 225 | (void)BIO_flush(out); | 225 | (void)BIO_flush(out); |
| 226 | 226 | ||
| 227 | message(out, "BN_div_recp"); | 227 | message(out, "BN_div_reciprocal"); |
| 228 | if (!test_div_recp(out, ctx)) | 228 | if (!test_div_recp(out, ctx)) |
| 229 | goto err; | 229 | goto err; |
| 230 | (void)BIO_flush(out); | 230 | (void)BIO_flush(out); |
| @@ -593,7 +593,7 @@ test_div_recp(BIO *bp, BN_CTX *ctx) | |||
| 593 | BN_set_negative(b, rand_neg()); | 593 | BN_set_negative(b, rand_neg()); |
| 594 | BN_RECP_CTX_free(recp); | 594 | BN_RECP_CTX_free(recp); |
| 595 | CHECK_GOTO(recp = BN_RECP_CTX_create(b)); | 595 | CHECK_GOTO(recp = BN_RECP_CTX_create(b)); |
| 596 | CHECK_GOTO(BN_div_recp(d, c, a, recp, ctx)); | 596 | CHECK_GOTO(BN_div_reciprocal(d, c, a, recp, ctx)); |
| 597 | if (bp != NULL) { | 597 | if (bp != NULL) { |
| 598 | if (!results) { | 598 | if (!results) { |
| 599 | CHECK_GOTO(BN_print(bp, a)); | 599 | CHECK_GOTO(BN_print(bp, a)); |
