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:08:09 +0000 (00:08 +0100)
commita5d0541b1b07e2be305dadb0d01226ea58ff2994
tree2563ec2519efbca84e24d9c0d1d0cf728be717c5
parent0cf65a0f5fdd72b950887e717f1f20d66ba30942
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)

(cherry picked from commit c2976edf4b22691d8bebb0e3ca2db18b3d0c71c6)
crypto/evp/pmeth_lib.c