From e4b2a797df3ff5bab15b528cb5b7c53426e1864d Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 29 Oct 2024 05:21:32 +0000 Subject: 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. --- regress/lib/libcrypto/ec/ec_asn1_test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'regress') 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 * Copyright (c) 2024 Theo Buehler @@ -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); -- cgit v1.2.3