]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - doc/man3/OPENSSL_init_crypto.pod
Implement OPENSSL_INIT_NO_ATEXIT
[thirdparty/openssl.git] / doc / man3 / OPENSSL_init_crypto.pod
index ea6b00dc633e45054422a71b331369f883ca9101..575d0f1a2c368aa0fd5c67d1a2c8465bb43385d9 100644 (file)
@@ -33,7 +33,7 @@ As of version 1.1.0 OpenSSL will automatically allocate all resources that it
 needs so no explicit initialisation is required. Similarly it will also
 automatically deinitialise as required.
 
-However, there way be situations when explicit initialisation is desirable or
+However, there may be situations when explicit initialisation is desirable or
 needed, for example when some non-default initialisation is required. The
 function OPENSSL_init_crypto() can be used for this purpose for
 libcrypto (see also L<OPENSSL_init_ssl(3)> for the libssl
@@ -157,6 +157,13 @@ engines. This not a default option.
 With this option the library will register its fork handlers.
 See OPENSSL_fork_prepare(3) for details.
 
+=item OPENSSL_INIT_NO_ATEXIT
+
+By default OpenSSL will attempt to clean itself up when the process exits via an
+"atexit" handler. Using this option suppresses that behaviour. This means that
+the application will have to clean up OpenSSL explicitly using
+OPENSSL_cleanup().
+
 =back
 
 Multiple options may be combined together in a single call to