projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71faab7
)
Define threads_lib.c functions only for OPENSSL_SYS_UNIX
author
J.W. Jagersma
<jwjagersma@gmail.com>
Sat, 1 Oct 2022 17:01:40 +0000
(19:01 +0200)
committer
Hugo Landau
<hlandau@openssl.org>
Mon, 14 Nov 2022 07:47:53 +0000
(07:47 +0000)
This matches the declaration in <openssl/crypto.h>.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19322)
crypto/threads_lib.c
patch
|
blob
|
history
diff --git
a/crypto/threads_lib.c
b/crypto/threads_lib.c
index 0c7162392df8a3ae19d207c9311a351e2c99b5f3..240ef726ec7895b038c6e2a7dbb7bc2096d4877f 100644
(file)
--- a/
crypto/threads_lib.c
+++ b/
crypto/threads_lib.c
@@
-8,7
+8,8
@@
*/
#include <openssl/crypto.h>
-#ifndef OPENSSL_NO_DEPRECATED_3_0
+#ifdef OPENSSL_SYS_UNIX
+# ifndef OPENSSL_NO_DEPRECATED_3_0
void OPENSSL_fork_prepare(void)
{
@@
-22,4
+23,5
@@
void OPENSSL_fork_child(void)
{
}
+# endif
#endif