]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix Build issue on Oracle Linux x64
authorShane Lontis <shane.lontis@oracle.com>
Fri, 26 Mar 2021 03:47:39 +0000 (13:47 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Sun, 28 Mar 2021 02:43:46 +0000 (12:43 +1000)
'typedef struct ecx_key_st ECX_KEY' was defined multiple times.
It is defined inside include/crypto/types.h which is included from include/crypto/ecx.h.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14693)

include/crypto/ecx.h

index dfc70fb4e65e4a96711c3415977f59b0e8b3ca54..656ee94f0910574ab4015ed382958125439c89f0 100644 (file)
@@ -76,8 +76,6 @@ struct ecx_key_st {
     CRYPTO_RWLOCK *lock;
 };
 
-typedef struct ecx_key_st ECX_KEY;
-
 size_t ossl_ecx_key_length(ECX_KEY_TYPE type);
 ECX_KEY *ossl_ecx_key_new(OSSL_LIB_CTX *libctx, ECX_KEY_TYPE type,
                           int haspubkey, const char *propq);