Put thread-fork-init inside a run-once guard
authorRich Salz <rsalz@openssl.org>
Fri, 18 Aug 2017 15:47:21 +0000 (11:47 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 18 Aug 2017 15:48:35 +0000 (11:48 -0400)
commitb842fcbb37cf3cded72dd7706abd8d54a10cd508
tree4355c6876d774102074d8e445bf2c0f54dc12160
parent10ed1b72391ded9853bec417d4d32bd6ec45f916
Put thread-fork-init inside a run-once guard

Thanks to Christian Heimes for pointing this out.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4191)
crypto/threads_pthread.c