summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-18 17:54:43 +1000
committerPauli <pauli@openssl.org>2021-05-24 09:39:15 +1000
commitec91f1ae199aaef7d4edd00741e0ccc5630871b8 (patch)
tree2ea3076bacc317d66acdcc51d65c07448676fc34 /include
parent235776b2c70fa2e283ea9fb47daf2cab4bc2309a (diff)
core: condition out more in FIPS builds
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15278)
Diffstat (limited to 'include')
-rw-r--r--include/internal/cryptlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h
index 3499025fa1..1291299b6e 100644
--- a/include/internal/cryptlib.h
+++ b/include/internal/cryptlib.h
@@ -155,7 +155,9 @@ typedef struct ossl_ex_data_global_st {
# define OSSL_LIB_CTX_DRBG_INDEX 5
# define OSSL_LIB_CTX_DRBG_NONCE_INDEX 6
# define OSSL_LIB_CTX_RAND_CRNGT_INDEX 7
-# define OSSL_LIB_CTX_THREAD_EVENT_HANDLER_INDEX 8
+# ifdef FIPS_MODULE
+# define OSSL_LIB_CTX_THREAD_EVENT_HANDLER_INDEX 8
+# endif
# define OSSL_LIB_CTX_FIPS_PROV_INDEX 9
# define OSSL_LIB_CTX_ENCODER_STORE_INDEX 10
# define OSSL_LIB_CTX_DECODER_STORE_INDEX 11