1SSL_LIBRARY_INIT(3) OpenSSL SSL_LIBRARY_INIT(3)
2
3
4
6 SSL_library_init, OpenSSL_add_ssl_algorithms - initialize SSL library
7 by registering algorithms
8
10 #include <openssl/ssl.h>
11
12 int SSL_library_init(void);
13
14 int OpenSSL_add_ssl_algorithms(void);
15
17 SSL_library_init() registers the available SSL/TLS ciphers and digests.
18
19 OpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init() and is
20 implemented as a macro.
21
23 SSL_library_init() must be called before any other action takes place.
24 SSL_library_init() is not reentrant.
25
27 SSL_library_init() adds ciphers and digests used directly and
28 indirectly by SSL/TLS.
29
31 SSL_library_init() always returns "1", so it is safe to discard the
32 return value.
33
35 ssl(7), RAND_add(3)
36
38 The SSL_library_init() and OpenSSL_add_ssl_algorithms() functions were
39 deprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl().
40
42 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
43
44 Licensed under the OpenSSL license (the "License"). You may not use
45 this file except in compliance with the License. You can obtain a copy
46 in the file LICENSE in the source distribution or at
47 <https://www.openssl.org/source/license.html>.
48
49
50
511.1.1q 2022-07-21 SSL_LIBRARY_INIT(3)