summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-04-16 11:13:30 +0100
committerMatt Caswell <matt@openssl.org>2021-04-19 10:52:18 +0100
commit978e323a4dbc9e790c13cc479b68c260677dc4c4 (patch)
treecd6e8ff536212de5b5f83b8ba049a7ff7602cbd4 /include
parent92b20fb8f742d50ca9eae8c28a855df94b9a3783 (diff)
Add the function OSSL_LIB_CTX_get0_global_default()
An API function for obtaining the global default lib ctx. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14890)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/crypto.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/crypto.h.in b/include/openssl/crypto.h.in
index adceb0c103..f25b997e32 100644
--- a/include/openssl/crypto.h.in
+++ b/include/openssl/crypto.h.in
@@ -519,6 +519,7 @@ int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b);
OSSL_LIB_CTX *OSSL_LIB_CTX_new(void);
int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file);
void OSSL_LIB_CTX_free(OSSL_LIB_CTX *);
+OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void);
OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx);
# ifdef __cplusplus