projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trivial bounds checking.
[openssl.git]
/
crypto
/
init.c
diff --git
a/crypto/init.c
b/crypto/init.c
index bc961718daac7a43987f03d4bd9424179fb43356..a2634d9653c3c136fb4bbf17fcb914b45aa9a461 100644
(file)
--- 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;