1*4724848cSchristos=pod 2*4724848cSchristos 3*4724848cSchristos=head1 NAME 4*4724848cSchristos 5*4724848cSchristosSSL_library_init, OpenSSL_add_ssl_algorithms 6*4724848cSchristos- initialize SSL library by registering algorithms 7*4724848cSchristos 8*4724848cSchristos=head1 SYNOPSIS 9*4724848cSchristos 10*4724848cSchristos #include <openssl/ssl.h> 11*4724848cSchristos 12*4724848cSchristos int SSL_library_init(void); 13*4724848cSchristos 14*4724848cSchristos int OpenSSL_add_ssl_algorithms(void); 15*4724848cSchristos 16*4724848cSchristos=head1 DESCRIPTION 17*4724848cSchristos 18*4724848cSchristosSSL_library_init() registers the available SSL/TLS ciphers and digests. 19*4724848cSchristos 20*4724848cSchristosOpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init() and is 21*4724848cSchristosimplemented as a macro. 22*4724848cSchristos 23*4724848cSchristos=head1 NOTES 24*4724848cSchristos 25*4724848cSchristosSSL_library_init() must be called before any other action takes place. 26*4724848cSchristosSSL_library_init() is not reentrant. 27*4724848cSchristos 28*4724848cSchristos=head1 WARNINGS 29*4724848cSchristos 30*4724848cSchristosSSL_library_init() adds ciphers and digests used directly and indirectly by 31*4724848cSchristosSSL/TLS. 32*4724848cSchristos 33*4724848cSchristos=head1 RETURN VALUES 34*4724848cSchristos 35*4724848cSchristosSSL_library_init() always returns "1", so it is safe to discard the return 36*4724848cSchristosvalue. 37*4724848cSchristos 38*4724848cSchristos=head1 SEE ALSO 39*4724848cSchristos 40*4724848cSchristosL<ssl(7)>, 41*4724848cSchristosL<RAND_add(3)> 42*4724848cSchristos 43*4724848cSchristos=head1 HISTORY 44*4724848cSchristos 45*4724848cSchristosThe SSL_library_init() and OpenSSL_add_ssl_algorithms() functions were 46*4724848cSchristosdeprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl(). 47*4724848cSchristos 48*4724848cSchristos=head1 COPYRIGHT 49*4724848cSchristos 50*4724848cSchristosCopyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved. 51*4724848cSchristos 52*4724848cSchristosLicensed under the OpenSSL license (the "License"). You may not use 53*4724848cSchristosthis file except in compliance with the License. You can obtain a copy 54*4724848cSchristosin the file LICENSE in the source distribution or at 55*4724848cSchristosL<https://www.openssl.org/source/license.html>. 56*4724848cSchristos 57*4724848cSchristos=cut 58