diff options
author | Richard Levitte <levitte@openssl.org> | 2020-07-23 23:06:27 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-09-03 17:48:32 +0200 |
commit | a1447076beee138cab1cc4b277aae189defffdf4 (patch) | |
tree | 7c553a8aabaebd9970ca4968ada98ceff5c42e3b /crypto/store/store_local.h | |
parent | 63f187cfedd21550094b5d69a52f7f617545b209 (diff) |
STORE: Deprecate legacy / ENGINE functions
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12587)
Diffstat (limited to 'crypto/store/store_local.h')
-rw-r--r-- | crypto/store/store_local.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/store/store_local.h b/crypto/store/store_local.h index cdd9f164b4..ef9815fa69 100644 --- a/crypto/store/store_local.h +++ b/crypto/store/store_local.h @@ -80,6 +80,7 @@ OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme); /* loader stuff */ struct ossl_store_loader_st { +#ifndef OPENSSL_NO_DEPRECATED_3_0 /* Legacy stuff */ const char *scheme; ENGINE *engine; @@ -93,6 +94,7 @@ struct ossl_store_loader_st { OSSL_STORE_error_fn error; OSSL_STORE_close_fn close; OSSL_STORE_open_with_libctx_fn open_with_libctx; +#endif /* Provider stuff */ OSSL_PROVIDER *prov; @@ -116,6 +118,11 @@ DEFINE_LHASH_OF(OSSL_STORE_LOADER); const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme); void ossl_store_destroy_loaders_int(void); +#ifdef OPENSSL_NO_DEPRECATED_3_0 +/* struct ossl_store_loader_ctx_st is defined differently by each loader */ +typedef struct ossl_store_loader_ctx_st OSSL_STORE_LOADER_CTX; +#endif + /*- * OSSL_STORE_CTX stuff * --------------------- |