diff options
author | Matt Caswell <matt@openssl.org> | 2019-05-24 20:20:49 +0300 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-17 17:32:54 +0300 |
commit | e41faf5784382a5d2bc23abebcf81b9f4708f6ec (patch) | |
tree | d8fb927ed8a5e8576e96e600812f36b13511eee7 /include/internal | |
parent | 72592b866492b84ba5ca1251d1a45875764c7b27 (diff) |
Provide a version of ossl_init_thread_start that works in FIPS mode
This will need to be hooked up in a later commit with an event sent to
the FIPS provider informing it of thread stop events.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9040)
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/cryptlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index 025e1acdfe..c40bb2601d 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -149,7 +149,8 @@ typedef struct ossl_ex_data_global_st { # define OPENSSL_CTX_DRBG_INDEX 5 # define OPENSSL_CTX_DRBG_NONCE_INDEX 6 # define OPENSSL_CTX_RAND_CRNGT_INDEX 7 -# define OPENSSL_CTX_MAX_INDEXES 8 +# define OPENSSL_CTX_THREAD_EVENT_HANDLER_INDEX 8 +# define OPENSSL_CTX_MAX_INDEXES 9 typedef struct openssl_ctx_method { void *(*new_func)(OPENSSL_CTX *ctx); |