From 5fdc6aff8969f405877cb212f681afded1f948e6 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 09:08:31 +0000 Subject: Remove ECDSA_METHOD After smtpd (in base) and libtls finally switched from ECDSA_METHOD to EC_KEY_METHOD, much of the ECDSA_METHOD code was neutered. Remove the remaining public API as well as numerous tentacles into ENGINE. ok jsing --- src/lib/libcrypto/engine/eng_fat.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/lib/libcrypto/engine/eng_fat.c') diff --git a/src/lib/libcrypto/engine/eng_fat.c b/src/lib/libcrypto/engine/eng_fat.c index baf1a54883..cf49c99bb4 100644 --- a/src/lib/libcrypto/engine/eng_fat.c +++ b/src/lib/libcrypto/engine/eng_fat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eng_fat.c,v 1.17 2019/01/19 01:07:00 tb Exp $ */ +/* $OpenBSD: eng_fat.c,v 1.18 2023/07/28 09:08:31 tb Exp $ */ /* ==================================================================== * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. * @@ -89,10 +89,6 @@ ENGINE_set_default(ENGINE *e, unsigned int flags) if ((flags & ENGINE_METHOD_ECDH) && !ENGINE_set_default_ECDH(e)) return 0; #endif -#ifndef OPENSSL_NO_ECDSA - if ((flags & ENGINE_METHOD_ECDSA) && !ENGINE_set_default_ECDSA(e)) - return 0; -#endif #ifndef OPENSSL_NO_EC if ((flags & ENGINE_METHOD_EC) && !ENGINE_set_default_EC(e)) return 0; @@ -123,8 +119,6 @@ int_def_cb(const char *alg, int len, void *arg) *pflags |= ENGINE_METHOD_DSA; else if (!strncmp(alg, "ECDH", len)) *pflags |= ENGINE_METHOD_ECDH; - else if (!strncmp(alg, "ECDSA", len)) - *pflags |= ENGINE_METHOD_ECDSA; else if (!strncmp(alg, "DH", len)) *pflags |= ENGINE_METHOD_DH; else if (strncmp(alg, "EC", len) == 0) @@ -177,9 +171,6 @@ ENGINE_register_complete(ENGINE *e) #ifndef OPENSSL_NO_ECDH ENGINE_register_ECDH(e); #endif -#ifndef OPENSSL_NO_ECDSA - ENGINE_register_ECDSA(e); -#endif #ifndef OPENSSL_NO_EC ENGINE_register_EC(e); #endif -- cgit v1.2.3-55-g6feb