From ba8395f5f34f1d7f095fcbdb24b6427010056a97 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 2 Jul 2023 13:26:36 +0000 Subject: Revert hunk accidentally committed in r1.39 --- src/lib/libcrypto/ecdsa/ecs_ossl.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c index b8a0344753..728c07d8bb 100644 --- a/src/lib/libcrypto/ecdsa/ecs_ossl.c +++ b/src/lib/libcrypto/ecdsa/ecs_ossl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecs_ossl.c,v 1.43 2023/07/02 13:18:54 tb Exp $ */ +/* $OpenBSD: ecs_ossl.c,v 1.44 2023/07/02 13:26:36 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project */ @@ -378,16 +378,6 @@ ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, break; } while (1); - /* - * Ensure that the signature generated can be verified. This ensures - * that our implementation is correct, while also potentially detecting - * some forms of side-channel attacks. - */ - if (ECDSA_do_verify(dgst, dgst_len, ret, eckey) <= 0) { - ECDSAerror(ERR_R_EC_LIB); - goto err; - } - ok = 1; err: -- cgit v1.2.3-55-g6feb