113d40330Schristos=pod 213d40330Schristos 313d40330Schristos=head1 NAME 413d40330Schristos 513d40330SchristosSSL_library_init, OpenSSL_add_ssl_algorithms 613d40330Schristos- initialize SSL library by registering algorithms 713d40330Schristos 813d40330Schristos=head1 SYNOPSIS 913d40330Schristos 1013d40330Schristos #include <openssl/ssl.h> 1113d40330Schristos 1213d40330Schristos int SSL_library_init(void); 1313d40330Schristos 1413d40330Schristos int OpenSSL_add_ssl_algorithms(void); 1513d40330Schristos 1613d40330Schristos=head1 DESCRIPTION 1713d40330Schristos 1813d40330SchristosSSL_library_init() registers the available SSL/TLS ciphers and digests. 1913d40330Schristos 2013d40330SchristosOpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init() and is 2113d40330Schristosimplemented as a macro. 2213d40330Schristos 2313d40330Schristos=head1 NOTES 2413d40330Schristos 2513d40330SchristosSSL_library_init() must be called before any other action takes place. 2613d40330SchristosSSL_library_init() is not reentrant. 2713d40330Schristos 284ce06407Schristos=head1 WARNINGS 2913d40330Schristos 3013d40330SchristosSSL_library_init() adds ciphers and digests used directly and indirectly by 3113d40330SchristosSSL/TLS. 3213d40330Schristos 3313d40330Schristos=head1 RETURN VALUES 3413d40330Schristos 3513d40330SchristosSSL_library_init() always returns "1", so it is safe to discard the return 3613d40330Schristosvalue. 3713d40330Schristos 3813d40330Schristos=head1 SEE ALSO 3913d40330Schristos 4013d40330SchristosL<ssl(7)>, 4113d40330SchristosL<RAND_add(3)> 4213d40330Schristos 4313d40330Schristos=head1 HISTORY 4413d40330Schristos 4513d40330SchristosThe SSL_library_init() and OpenSSL_add_ssl_algorithms() functions were 4613d40330Schristosdeprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl(). 4713d40330Schristos 4813d40330Schristos=head1 COPYRIGHT 4913d40330Schristos 50*b0d17251SchristosCopyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. 5113d40330Schristos 52*b0d17251SchristosLicensed under the Apache License 2.0 (the "License"). You may not use 5313d40330Schristosthis file except in compliance with the License. You can obtain a copy 5413d40330Schristosin the file LICENSE in the source distribution or at 5513d40330SchristosL<https://www.openssl.org/source/license.html>. 5613d40330Schristos 5713d40330Schristos=cut 58