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