summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-05-04 13:50:15 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-05-04 13:50:15 +0000
commit963b1b6a868a333371c790fa85bd1cf55fe8ce41 (patch)
tree017652875de336267fc27bf7971caad17b7fa0bf
parent52827d6139b0c6027bda5baecf570164282fdc59 (diff)
sigh. typo
-rw-r--r--regress/lib/libcrypto/ecdsa/ecdsatest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/ecdsa/ecdsatest.c b/regress/lib/libcrypto/ecdsa/ecdsatest.c
index bc908ce1f57..b0b9bd00651 100644
--- a/regress/lib/libcrypto/ecdsa/ecdsatest.c
+++ b/regress/lib/libcrypto/ecdsa/ecdsatest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecdsatest.c,v 1.16 2023/05/04 13:49:29 tb Exp $ */
+/* $OpenBSD: ecdsatest.c,v 1.17 2023/05/04 13:50:14 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
@@ -155,7 +155,7 @@ test_builtin(void)
}
/* Exercise ECParameters_dup() and let ASAN test for leaks. */
- if ((wrong_eckey = ECParameters_dup(key)) == NULL)
+ if ((wrong_eckey = ECParameters_dup(eckey)) == NULL)
goto err;
group = EC_GROUP_new_by_curve_name(nid);
if (group == NULL)