diff options
author | Rich Salz <rsalz@openssl.org> | 2017-06-22 20:00:06 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-06-29 22:19:41 +0200 |
commit | 2915fe19a6676374c335d8c50eaaa4c940cf47d6 (patch) | |
tree | 4d959df974cc5ea075a230101ac2b95c7da23320 /crypto/threads_win.c | |
parent | STORE: Make sure the loader to be registered is complete (diff) | |
download | openssl-2915fe19a6676374c335d8c50eaaa4c940cf47d6.tar.xz openssl-2915fe19a6676374c335d8c50eaaa4c940cf47d6.zip |
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.c | 5 |
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 |