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