From f2c1c1c10205a0cb367a334ffdbfcb3141b38134 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 29 Oct 2024 06:34:19 +0000 Subject: ec_asn1_test: point doubling is fine, the leak is elsewhere (will be fixed shortly). --- regress/lib/libcrypto/ec/ec_asn1_test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'regress') 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 * Copyright (c) 2024 Theo Buehler @@ -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); -- cgit v1.2.3