diff options
author | Pauli <pauli@openssl.org> | 2021-05-18 17:54:43 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-24 09:39:15 +1000 |
commit | ec91f1ae199aaef7d4edd00741e0ccc5630871b8 (patch) | |
tree | 2ea3076bacc317d66acdcc51d65c07448676fc34 /crypto/initthread.c | |
parent | 235776b2c70fa2e283ea9fb47daf2cab4bc2309a (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 'crypto/initthread.c')
-rw-r--r-- | crypto/initthread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/initthread.c b/crypto/initthread.c index fec3213047..73f55c5cb8 100644 --- a/crypto/initthread.c +++ b/crypto/initthread.c @@ -33,7 +33,9 @@ extern OSSL_FUNC_core_thread_start_fn *c_thread_start; typedef struct thread_event_handler_st THREAD_EVENT_HANDLER; struct thread_event_handler_st { +#ifndef FIPS_MODULE const void *index; +#endif void *arg; OSSL_thread_stop_handler_fn handfn; THREAD_EVENT_HANDLER *next; @@ -376,7 +378,9 @@ int ossl_init_thread_start(const void *index, void *arg, hand->handfn = handfn; hand->arg = arg; +#ifndef FIPS_MODULE hand->index = index; +#endif hand->next = *hands; *hands = hand; |