summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-26 19:56:29 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-26 19:56:29 +0000
commit0ab212d5ed96cac6dd18fdda8a7d3de12ef87697 (patch)
tree80c4abe8ee6f218557513f06cbc081f098cb104b /regress
parentef5139bb11f47a5a7d92834c142976ecb31f0d81 (diff)
Fix copy-paste error
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/bn/bn_mod_exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/bn/bn_mod_exp.c b/regress/lib/libcrypto/bn/bn_mod_exp.c
index b9adadbd67a..5e12c8bb744 100644
--- a/regress/lib/libcrypto/bn/bn_mod_exp.c
+++ b/regress/lib/libcrypto/bn/bn_mod_exp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_mod_exp.c,v 1.21 2023/03/26 19:01:59 tb Exp $ */
+/* $OpenBSD: bn_mod_exp.c,v 1.22 2023/03/26 19:56:28 tb Exp $ */
/*
* Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org>
@@ -569,7 +569,7 @@ run_bn_mod_exp2_tests(void)
if ((want = BN_CTX_get(ctx)) == NULL)
errx(1, "want = BN_CTX_get()");
if ((got = BN_CTX_get(ctx)) == NULL)
- errx(1, "want = BN_CTX_get()");
+ errx(1, "got = BN_CTX_get()");
reduce = 0;
for (i = 0; i < N_MOD_EXP_TESTS; i++)