diff options
author | Rich Salz <rsalz@openssl.org> | 2017-06-30 13:55:08 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-06-30 14:47:02 -0400 |
commit | b5319bdbd095ff59d084af5ce16e5f715963557d (patch) | |
tree | d56a440acbd17a07d1094d8fe5b6da5428f850a0 /crypto | |
parent | dcf6e50f48e6bab92dcd2dacb27fc17c0de34199 (diff) |
Fix atfork flag. Avoid double-negatives :)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/3815)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/init.c b/crypto/init.c index bc961718da..a2634d9653 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -552,7 +552,7 @@ int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings) && !RUN_ONCE(&add_all_digests, ossl_init_add_all_digests)) return 0; - if ((opts & OPENSSL_INIT_NO_ATFORK) == 0 + if ((opts & OPENSSL_INIT_ATFORK) && !openssl_init_fork_handlers()) return 0; |