summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-06-23 10:09:20 +0200
committerRichard Levitte <levitte@openssl.org>2020-06-28 10:55:52 +0200
commitcfbd76c1a9737617d4cf90d3a1af704241c97d98 (patch)
tree2984d2265afa28514f3f501fedd3bf934b4c77c1 /include
parente31eda006faaadc8bbe0bb809dbbaba0e4323fe6 (diff)
downloadopenssl-new-cfbd76c1a9737617d4cf90d3a1af704241c97d98.tar.gz
CORE: Add an internal function to distinguish the global default context
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12228)
Diffstat (limited to 'include')
-rw-r--r--include/internal/cryptlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h
index 5118bfbe57..fba1d5643f 100644
--- a/include/internal/cryptlib.h
+++ b/include/internal/cryptlib.h
@@ -168,6 +168,7 @@ typedef struct openssl_ctx_method {
OPENSSL_CTX *openssl_ctx_get_concrete(OPENSSL_CTX *ctx);
int openssl_ctx_is_default(OPENSSL_CTX *ctx);
+int openssl_ctx_is_global_default(OPENSSL_CTX *ctx);
/* Functions to retrieve pointers to data by index */
void *openssl_ctx_get_data(OPENSSL_CTX *, int /* index */,