summaryrefslogtreecommitdiffstats
path: root/include/internal/cryptlib.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-07-22 22:54:54 +0200
committerRichard Levitte <levitte@openssl.org>2020-08-24 10:02:25 +0200
commitc4fc564d48456be622509886d3ea5618fce2a02e (patch)
tree0394f0e2a9712e6042ea816304b37e9cbf44b5ec /include/internal/cryptlib.h
parent8704b6bf32ccc24570b57fbdfef685fbd3572635 (diff)
STORE: Add the base functions to support provider based loaders
This includes fixing a bug that could only be discovered when no loaders were registered. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12512)
Diffstat (limited to 'include/internal/cryptlib.h')
-rw-r--r--include/internal/cryptlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h
index 3075bd70c0..1df0c5df34 100644
--- a/include/internal/cryptlib.h
+++ b/include/internal/cryptlib.h
@@ -160,7 +160,8 @@ typedef struct ossl_ex_data_global_st {
# define OPENSSL_CTX_SELF_TEST_CB_INDEX 12
# define OPENSSL_CTX_BIO_PROV_INDEX 13
# define OPENSSL_CTX_GLOBAL_PROPERTIES 14
-# define OPENSSL_CTX_MAX_INDEXES 15
+# define OPENSSL_CTX_STORE_LOADER_STORE_INDEX 15
+# define OPENSSL_CTX_MAX_INDEXES 16
typedef struct openssl_ctx_method {
void *(*new_func)(OPENSSL_CTX *ctx);