summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-10-18 10:12:26 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-10-18 10:12:26 +0000
commit8b04e838b8dc23d3f3a71480f0dd461fee1ff65d (patch)
tree76ccb75fc96f9285792a70431493c1eecbef0d5d /regress
parent089485706d1738cd5495d58e47f68ec2eacce4bb (diff)
ec_asn1_test: remove last hardcoded wei25519 remnant
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/ec/ec_asn1_test.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/regress/lib/libcrypto/ec/ec_asn1_test.c b/regress/lib/libcrypto/ec/ec_asn1_test.c
index d9da2afca55..060d8e581ff 100644
--- a/regress/lib/libcrypto/ec/ec_asn1_test.c
+++ b/regress/lib/libcrypto/ec/ec_asn1_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_asn1_test.c,v 1.8 2024/10/18 09:34:20 tb Exp $ */
+/* $OpenBSD: ec_asn1_test.c,v 1.9 2024/10/18 10:12:25 tb Exp $ */
/*
* Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2024 Theo Buehler <tb@openbsd.org>
@@ -717,9 +717,8 @@ ec_group_non_builtin_curve(const struct curve *curve, const EC_METHOD *method,
goto err;
}
- if (compare_data("Weierstrass 25519 named curve", der, der_len,
- ec_wei25519_pkparameters_named_curve,
- sizeof(ec_wei25519_pkparameters_named_curve)) == -1)
+ if (compare_data(curve->descr, der, der_len,
+ curve->named, curve->named_len) == -1)
goto err;
freezero(der, der_len);