Don't ignore passed ENGINE.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 9 Oct 2017 13:37:21 +0000 (14:37 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 11 Oct 2017 23:03:32 +0000 (00:03 +0100)
commitc2976edf4b22691d8bebb0e3ca2db18b3d0c71c6
treeaff97c6aebad3065495b30c1f17c6679ff63d35b
parente913d11f444e0b46ec1ebbf3340813693f4d869d
Don't ignore passed ENGINE.

If we are passed an ENGINE to use in int_ctx_new e.g. via EVP_PKEY_CTX_new()
use it instead of the default.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4503)
crypto/evp/pmeth_lib.c