]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/SSL_library_init.pod
Rename OPENSSL_CTX prefix to OSSL_LIB_CTX
[thirdparty/openssl.git] / doc / man3 / SSL_library_init.pod
CommitLineData
933f32cc
RL
1=pod
2
3=head1 NAME
4
3ba4dac6 5SSL_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 18SSL_library_init() registers the available SSL/TLS ciphers and digests.
933f32cc 19
91da5e77
RS
20OpenSSL_add_ssl_algorithms() is a synonym for SSL_library_init() and is
21implemented as a macro.
933f32cc
RL
22
23=head1 NOTES
24
25SSL_library_init() must be called before any other action takes place.
1bc74519 26SSL_library_init() is not reentrant.
933f32cc 27
5e0d9c86 28=head1 WARNINGS
933f32cc 29
c0b8eb60
DSH
30SSL_library_init() adds ciphers and digests used directly and indirectly by
31SSL/TLS.
933f32cc 32
933f32cc
RL
33=head1 RETURN VALUES
34
35SSL_library_init() always returns "1", so it is safe to discard the return
36value.
37
38=head1 SEE ALSO
39
b97fdb57 40L<ssl(7)>,
9b86974e 41L<RAND_add(3)>
933f32cc 42
f672aee4
RS
43=head1 HISTORY
44
45The SSL_library_init() and OpenSSL_add_ssl_algorithms() functions were
46deprecated in OpenSSL 1.1.0 by OPENSSL_init_ssl().
47
e2f92610
RS
48=head1 COPYRIGHT
49
50Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
51
4746f25a 52Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
53this file except in compliance with the License. You can obtain a copy
54in the file LICENSE in the source distribution or at
55L<https://www.openssl.org/source/license.html>.
56
57=cut