1SSL_LIBRARY_INIT(3ossl) OpenSSL SSL_LIBRARY_INIT(3ossl)
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-2016 The OpenSSL Project Authors. All Rights Reserved.
43
44 Licensed under the Apache License 2.0 (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
513.0.5 2022-11-01 SSL_LIBRARY_INIT(3ossl)