Use the libctx and properties when constructing an EVP_PKEY_CTX
authorMatt Caswell <matt@openssl.org>
Wed, 18 Mar 2020 12:57:48 +0000 (12:57 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Mar 2020 11:23:26 +0000 (11:23 +0000)
commit3aceb9ec51beb2ec266c2aba75ee14721c693659
tree0d1172ec360c709eb42a2bd55c8bf42b8df0e5c5
parentcab33afb711e467f459e5b5e669bf7a5c4fe797a
Use the libctx and properties when constructing an EVP_PKEY_CTX

When constructing an RSA ClientKeyExchange make sure we construct our
EVP_PKEY_CTX using the correct libctx and properties

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11357)
ssl/statem/statem_clnt.c