5 SSL_library_init, OpenSSL_add_ssl_algorithms,
6 - initialize SSL library by registering algorithms
10 #include <openssl/ssl.h>
12 int SSL_library_init(void);
13 #define OpenSSL_add_ssl_algorithms() SSL_library_init()
17 SSL_library_init() registers the available SSL/TLS ciphers and digests.
19 OpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init().
23 SSL_library_init() must be called before any other action takes place.
24 SSL_library_init() is not reentrant.
28 SSL_library_init() adds ciphers and digests used directly and indirectly by
33 A typical TLS/SSL application will start with the library initialization,
34 and provide readable error messages.
36 SSL_load_error_strings(); /* readable error messages */
37 SSL_library_init(); /* initialize library */
41 SSL_library_init() always returns "1", so it is safe to discard the return
46 L<ssl(3)>, L<SSL_load_error_strings(3)>,