summaryrefslogtreecommitdiffstats
path: root/crypto/threads_win.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-06-22 14:00:06 -0400
committerRich Salz <rsalz@openssl.org>2017-06-29 16:19:41 -0400
commit2915fe19a6676374c335d8c50eaaa4c940cf47d6 (patch)
tree4d959df974cc5ea075a230101ac2b95c7da23320 /crypto/threads_win.c
parent5ee407460b3b68aa4695f17cf8c43e0d07cb18a8 (diff)
Add fork handlers, based on pthread_atfork
Only for Unix platforms Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3754)
Diffstat (limited to 'crypto/threads_win.c')
-rw-r--r--crypto/threads_win.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c
index 4e0de908ee..512e19f5f3 100644
--- a/crypto/threads_win.c
+++ b/crypto/threads_win.c
@@ -133,4 +133,9 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock)
return 1;
}
+int openssl_init_fork_handlers(void)
+{
+ return 0;
+}
+
#endif