When calling the import_to function pass the libctx too
authorMatt Caswell <matt@openssl.org>
Fri, 10 Apr 2020 17:28:24 +0000 (18:28 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 17 Apr 2020 11:26:56 +0000 (12:26 +0100)
commit629c72db5f8af3312fd89188298ce464186470d1
tree46093f9f44f37422ee717a7b973437bb788a85b3
parent7da7b27eec58d1efc7012f002c45ddbdd61a5e79
When calling the import_to function pass the libctx too

Previously import_to just took an EVP_PKEY as the argument. However we
need to some additional context data as well - specifically the libctx.
Therefore we pass an EVP_PKEY_CTX instead to hold the combination of
both of these things.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11536)
crypto/dh/dh_ameth.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/ec/ecx_meth.c
crypto/evp/p_lib.c
crypto/rsa/rsa_ameth.c