diff options
author | Richard Levitte <levitte@openssl.org> | 2020-12-01 19:21:04 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-12-16 11:56:38 +0100 |
commit | 565b33990cc03d757f493616c040addbedfc80f8 (patch) | |
tree | 09090928a2875229b60d02f4dd6b43bb745e9cba /crypto/evp/p_lib.c | |
parent | c829c23b67308ad8e8ab677c78db1d5151106c3c (diff) | |
download | openssl-new-565b33990cc03d757f493616c040addbedfc80f8.tar.gz |
EVP_PKEY & EC_KEY: Make EC EVP_PKEY_CTX parameter ctrls / setters more available
EVP_PKEY_CTX_set_ec_ functions were only available when EC was enabled
('no-ec' not configured). However, that makes it impossible to use
these functions with an engine or a provider that happens to implement
EC_KEY. This change solves that problem by shuffling these functions
to more appropriate places.
Partially fixes #13550
squash! EVP_PKEY & EC_KEY: Make EC EVP_PKEY_CTX parameter ctrls / setters more available
By consequence, there are a number of places where we can remove the
check of OPENSSL_NO_EC. This requires some re-arrangements of
internal tables to translate between numeric identities and names.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13589)
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r-- | crypto/evp/p_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 434bd0b61b..326c58c8aa 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c @@ -35,6 +35,7 @@ #include "internal/ffc.h" #include "crypto/asn1.h" #include "crypto/evp.h" +#include "crypto/ec.h" #include "crypto/ecx.h" #include "internal/provider.h" #include "evp_local.h" |