diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-29 05:21:32 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-29 05:21:32 +0000 |
commit | e4b2a797df3ff5bab15b528cb5b7c53426e1864d (patch) | |
tree | 7f2608d3dd0c3caa3cc9b3edc7ba0887613293ba /regress | |
parent | 417cdc61e7a7483e5ccd35b42254f47442542c40 (diff) |
Disable point doubling for now, it leaks due to a doc bug.
Can't replace it with adding the point to itself since that also leaks
(another doc bug). Who would've thought.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/ec/ec_asn1_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/ec/ec_asn1_test.c b/regress/lib/libcrypto/ec/ec_asn1_test.c index 058d0d0067d..2faa73cbe6b 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.20 2024/10/28 21:20:30 tb Exp $ */ +/* $OpenBSD: ec_asn1_test.c,v 1.21 2024/10/29 05:21:31 tb Exp $ */ /* * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> * Copyright (c) 2024 Theo Buehler <tb@openbsd.org> @@ -2682,11 +2682,13 @@ 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); |