diff options
author | Richard Levitte <levitte@openssl.org> | 2020-09-30 18:01:06 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-10-04 13:23:03 +0200 |
commit | 6514dee7264d30be1ab9ab07f9798071184e7b7a (patch) | |
tree | 3970a529c35aa4df0aaa1d178cea2b9954319317 /apps/include/apps.h | |
parent | 70c06aafa691a77861bd3d3aaf93afa2a55e04ce (diff) |
APPS: Reduce deprecation warning suppression - ENGINE
Some of our apps turn off deprecation warnings solely for the sake of
ENGINE, and thereby shadowing other deprecations that we should take
better care of.
To solve this, all apps ENGINE functionality is move to one file,
where deprecation warning suppression is activate, and the same
suppression can then easily be removed in at least some of the apps.
Any remaining suppression that we still need to deal with should
happen as separate efforts.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13044)
Diffstat (limited to 'apps/include/apps.h')
-rw-r--r-- | apps/include/apps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h index 8a6f2b046c..ac008e9572 100644 --- a/apps/include/apps.h +++ b/apps/include/apps.h @@ -151,6 +151,12 @@ __owur int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path); ENGINE *setup_engine_methods(const char *id, unsigned int methods, int debug); # define setup_engine(e, debug) setup_engine_methods(e, (unsigned int)-1, debug) void release_engine(ENGINE *e); +int init_engine(ENGINE *e); +int finish_engine(ENGINE *e); +EVP_PKEY *load_engine_private_key(ENGINE *e, const char *keyid, + const char *pass, const char *desc); +EVP_PKEY *load_engine_public_key(ENGINE *e, const char *keyid, + const char *pass, const char *desc); # ifndef OPENSSL_NO_OCSP OCSP_RESPONSE *process_responder(OCSP_REQUEST *req, |