diff options
author | Matt Caswell <matt@openssl.org> | 2019-05-27 17:31:27 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-17 17:19:44 +0200 |
commit | da747958c5db57dbe22c015d058be9db8a90f8f9 (patch) | |
tree | 94eb46b99a0b7b586f7ed7aa1c0fc867d248b337 /providers/common | |
parent | Provide a version of ossl_init_thread_start that works in FIPS mode (diff) | |
download | openssl-da747958c5db57dbe22c015d058be9db8a90f8f9.tar.xz openssl-da747958c5db57dbe22c015d058be9db8a90f8f9.zip |
Tell the FIPS provider about thread stop events
The RAND code needs to know about threads stopping in order to cleanup
local thread data. Therefore we add a callback for libcrypto to tell
providers about such events.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9040)
Diffstat (limited to 'providers/common')
-rw-r--r-- | providers/common/include/internal/providercommon.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/providers/common/include/internal/providercommon.h b/providers/common/include/internal/providercommon.h index e69de29bb2..663d9c6183 100644 --- a/providers/common/include/internal/providercommon.h +++ b/providers/common/include/internal/providercommon.h @@ -0,0 +1,10 @@ +/* + * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the Apache License 2.0 (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +const OSSL_PROVIDER *FIPS_get_provider(OPENSSL_CTX *ctx); |