&& !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;
functions as the OpenSSL library will do so automatically.
L<OPENSSL_init_crypto(3)> will register these funtions with the appropriate
-hander, unless the B<OPENSSL_INIT_NO_ATFORK> flag is used. For those
+hander, when the B<OPENSSL_INIT_ATFORK> flag is used. For other
applications, these functions can be called directly. They should be used
according to the calling sequence described by the pthreads_atfork(3)
documentation, which is summarized here. OPENSSL_fork_prepare() should
built in engines listed above with the exception of the openssl and dasync
engines. This not a default option.
-=item OPENSSL_INIT_NO_ATFORK
+=item OPENSSL_INIT_ATFORK
-With this option the library will not register its fork handlers.
+With this option the library will register its fork handlers.
See OPENSSL_fork_prepare(3) for details.
=back
# define OPENSSL_INIT_ENGINE_PADLOCK 0x00004000L
# define OPENSSL_INIT_ENGINE_AFALG 0x00008000L
# define OPENSSL_INIT_reserved_internal 0x00010000L
-# define OPENSSL_INIT_NO_ATFORK 0x00020000L
+# define OPENSSL_INIT_ATFORK 0x00020000L
/* OPENSSL_INIT flag range 0xfff00000 reserved for OPENSSL_init_ssl() */
/* Max OPENSSL_INIT flag value is 0x80000000 */