Fix Build issue on Oracle Linux x64

'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)
This commit is contained in:
Shane Lontis 2021-03-26 13:47:39 +10:00
parent ed2e5b612d
commit a638fb9413

View 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);