From da747958c5db57dbe22c015d058be9db8a90f8f9 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 27 May 2019 16:31:27 +0100 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/9040) --- providers/common/include/internal/providercommon.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'providers/common') 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); -- cgit v1.2.3