diff options
author | Matt Caswell <matt@openssl.org> | 2020-11-02 11:04:06 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-25 16:45:03 +0000 |
commit | 0f386f2eb036d3efc61427b0f83cf5db654d0d49 (patch) | |
tree | 8d92e93edefa0ef1f2f592b64f3d3410744a564e /apps/include/apps.h | |
parent | 931d5b4b27fcc907e3ff4d4328c59a5f285a44fb (diff) |
Remove deprecation warning suppression from genpkey
genpkey was supressing deprecation warnings in order to support ENGINE
functionality. We move all of that into a separate file so that we don't
need to suppress the warnings anymore.
Fixes #13118
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13454)
Diffstat (limited to 'apps/include/apps.h')
-rw-r--r-- | apps/include/apps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h index b149a837f3..0848a2e03e 100644 --- a/apps/include/apps.h +++ b/apps/include/apps.h @@ -160,6 +160,8 @@ EVP_PKEY *load_engine_private_key(ENGINE *e, const char *keyid, EVP_PKEY *load_engine_public_key(ENGINE *e, const char *keyid, const char *pass, const char *desc); +int get_legacy_pkey_id(OSSL_LIB_CTX *libctx, const char *algname, ENGINE *e); + # ifndef OPENSSL_NO_OCSP OCSP_RESPONSE *process_responder(OCSP_REQUEST *req, const char *host, const char *path, |