diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-29 06:34:19 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-29 06:34:19 +0000 |
commit | f2c1c1c10205a0cb367a334ffdbfcb3141b38134 (patch) | |
tree | 70a5cf2570908b7249977a940beae449effdab6a | |
parent | e4b2a797df3ff5bab15b528cb5b7c53426e1864d (diff) |
ec_asn1_test: point doubling is fine, the leak is elsewhere
(will be fixed shortly).
-rw-r--r-- | regress/lib/libcrypto/ec/ec_asn1_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/ec/ec_asn1_test.c b/regress/lib/libcrypto/ec/ec_asn1_test.c index 2faa73cbe6b..02796a25ed7 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.21 2024/10/29 05:21:31 tb Exp $ */ +/* $OpenBSD: ec_asn1_test.c,v 1.22 2024/10/29 06:34:18 tb Exp $ */ /* * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> * Copyright (c) 2024 Theo Buehler <tb@openbsd.org> @@ -2682,13 +2682,11 @@ ec_group_check_private_key(const struct ec_private_key *key) * point reuse works. */ -#if 0 if (!EC_POINT_dbl(group, point, point, NULL)) { fprintf(stderr, "FAIL: EC_POINT_dbl() failed for %s\n", key->name); goto err; } -#endif if (!EC_POINT_invert(group, point, NULL)) { fprintf(stderr, "FAIL: EC_POINT_invert() failed for %s\n", key->name); |