diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2019-02-25 18:02:33 +0300 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-03-19 10:42:33 +0000 |
commit | 229f7b38f0e1d65e2aac9d227f3963a1a578430b (patch) | |
tree | 85d981160b1694cda1933b4c6d3c463f30d0cb15 /crypto/evp/p_lib.c | |
parent | f5c9916742655f872018426838cff4ff04da5321 (diff) | |
download | openssl-new-229f7b38f0e1d65e2aac9d227f3963a1a578430b.tar.gz |
Providing missing accessor to EVP_PKEY.engine
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8329)
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r-- | crypto/evp/p_lib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 9a882e9eec..c6ebfe6462 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c @@ -396,6 +396,11 @@ int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e) pkey->pmeth_engine = e; return 1; } + +ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey) +{ + return pkey->engine; +} #endif int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key) { |