From a5f3c7cca338d4a5c023301b454650520406250c Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 14 Jan 2022 08:31:03 +0000 Subject: Move ECDSA_SIG to ecs_locl.h We can't make ECDSA_METHOD opaque since it is still used in smtpd(8) ok inoguchi jsing --- src/lib/libcrypto/ecdsa/ecdsa.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/lib/libcrypto/ecdsa/ecdsa.h') diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h index 7b57f534ef..eccca65b5a 100644 --- a/src/lib/libcrypto/ecdsa/ecdsa.h +++ b/src/lib/libcrypto/ecdsa/ecdsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ecdsa.h,v 1.10 2022/01/14 07:49:49 tb Exp $ */ +/* $OpenBSD: ecdsa.h,v 1.11 2022/01/14 08:31:03 tb Exp $ */ /** * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions * \author Written by Nils Larsch for the OpenSSL project @@ -85,10 +85,6 @@ struct ecdsa_method { BIGNUM **r); int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey); -#if 0 - int (*init)(EC_KEY *eckey); - int (*finish)(EC_KEY *eckey); -#endif int flags; char *app_data; }; @@ -101,11 +97,6 @@ struct ecdsa_method { #define ECDSA_FLAG_FIPS_METHOD 0x1 -struct ECDSA_SIG_st { - BIGNUM *r; - BIGNUM *s; -}; - /** Allocates and initialize a ECDSA_SIG structure * \return pointer to a ECDSA_SIG structure or NULL if an error occurred */ -- cgit v1.2.3-55-g6feb