Make sure we use the libctx in libssl when loading PrivateKeys
authorMatt Caswell <matt@openssl.org>
Mon, 6 Apr 2020 17:24:05 +0000 (18:24 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 15 Apr 2020 10:24:13 +0000 (11:24 +0100)
commitd6a2bdf7f1585587c607abb2e5ae281d12dd8230
tree21efe2fddcbcd96784c39c279339cd7136124e31
parent1531241c54b36be74967753cdea78c16831f7aa5
Make sure we use the libctx in libssl when loading PrivateKeys

Since loading a private key might require algorithm fetches we should
make sure the correct libctx is used.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11494)
ssl/ssl_rsa.c