xref: /openbsd-src/lib/libssl/man/SSL_library_init.3 (revision 536f31e85b822acebc7a8c3d0a4514cb1a0f2ead)
1*536f31e8Sschwarze.\"	$OpenBSD: SSL_library_init.3,v 1.7 2019/06/14 13:41:31 schwarze Exp $
2b66bb52aSschwarze.\"	OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3f1a3c524Sschwarze.\"
4b66bb52aSschwarze.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
5b66bb52aSschwarze.\" Copyright (c) 2000, 2006, 2010 The OpenSSL Project.  All rights reserved.
6f1a3c524Sschwarze.\"
7b66bb52aSschwarze.\" Redistribution and use in source and binary forms, with or without
8b66bb52aSschwarze.\" modification, are permitted provided that the following conditions
9b66bb52aSschwarze.\" are met:
10b66bb52aSschwarze.\"
11b66bb52aSschwarze.\" 1. Redistributions of source code must retain the above copyright
12b66bb52aSschwarze.\"    notice, this list of conditions and the following disclaimer.
13b66bb52aSschwarze.\"
14b66bb52aSschwarze.\" 2. Redistributions in binary form must reproduce the above copyright
15b66bb52aSschwarze.\"    notice, this list of conditions and the following disclaimer in
16b66bb52aSschwarze.\"    the documentation and/or other materials provided with the
17b66bb52aSschwarze.\"    distribution.
18b66bb52aSschwarze.\"
19b66bb52aSschwarze.\" 3. All advertising materials mentioning features or use of this
20b66bb52aSschwarze.\"    software must display the following acknowledgment:
21b66bb52aSschwarze.\"    "This product includes software developed by the OpenSSL Project
22b66bb52aSschwarze.\"    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
23b66bb52aSschwarze.\"
24b66bb52aSschwarze.\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
25b66bb52aSschwarze.\"    endorse or promote products derived from this software without
26b66bb52aSschwarze.\"    prior written permission. For written permission, please contact
27b66bb52aSschwarze.\"    openssl-core@openssl.org.
28b66bb52aSschwarze.\"
29b66bb52aSschwarze.\" 5. Products derived from this software may not be called "OpenSSL"
30b66bb52aSschwarze.\"    nor may "OpenSSL" appear in their names without prior written
31b66bb52aSschwarze.\"    permission of the OpenSSL Project.
32b66bb52aSschwarze.\"
33b66bb52aSschwarze.\" 6. Redistributions of any form whatsoever must retain the following
34b66bb52aSschwarze.\"    acknowledgment:
35b66bb52aSschwarze.\"    "This product includes software developed by the OpenSSL Project
36b66bb52aSschwarze.\"    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
37b66bb52aSschwarze.\"
38b66bb52aSschwarze.\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
39b66bb52aSschwarze.\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40b66bb52aSschwarze.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
41b66bb52aSschwarze.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
42b66bb52aSschwarze.\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
43b66bb52aSschwarze.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
44b66bb52aSschwarze.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
45b66bb52aSschwarze.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
46b66bb52aSschwarze.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
47b66bb52aSschwarze.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
48b66bb52aSschwarze.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49b66bb52aSschwarze.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50b66bb52aSschwarze.\"
51*536f31e8Sschwarze.Dd $Mdocdate: June 14 2019 $
52f1a3c524Sschwarze.Dt SSL_LIBRARY_INIT 3
53f1a3c524Sschwarze.Os
54f1a3c524Sschwarze.Sh NAME
55f1a3c524Sschwarze.Nm SSL_library_init ,
56f1a3c524Sschwarze.Nm OpenSSL_add_ssl_algorithms ,
57f1a3c524Sschwarze.Nm SSLeay_add_ssl_algorithms
58f1a3c524Sschwarze.Nd initialize SSL library by registering algorithms
59f1a3c524Sschwarze.Sh SYNOPSIS
60f1a3c524Sschwarze.In openssl/ssl.h
61f1a3c524Sschwarze.Ft int
62f1a3c524Sschwarze.Fn SSL_library_init void
63b66bb52aSschwarze.Ft int
64b66bb52aSschwarze.Fn OpenSSL_add_ssl_algorithms void
65b66bb52aSschwarze.Ft int
66b66bb52aSschwarze.Fn SSLeay_add_ssl_algorithms void
67f1a3c524Sschwarze.Sh DESCRIPTION
68*536f31e8SschwarzeThese functions are deprecated.
69*536f31e8SschwarzeIt is never useful for any application program to call any of them explicitly.
70*536f31e8SschwarzeThe library automatically calls them internally whenever needed.
71*536f31e8Sschwarze.Pp
72f1a3c524Sschwarze.Fn SSL_library_init
73*536f31e8Sschwarzeregisters the available ciphers and digests
74*536f31e8Sschwarzewhich are used directly or indirectly by TLS.
75f1a3c524Sschwarze.Pp
76f1a3c524Sschwarze.Fn OpenSSL_add_ssl_algorithms
77f1a3c524Sschwarzeand
78f1a3c524Sschwarze.Fn SSLeay_add_ssl_algorithms
79f1a3c524Sschwarzeare synonyms for
80b66bb52aSschwarze.Fn SSL_library_init
81b66bb52aSschwarzeand are implemented as macros.
82f1a3c524Sschwarze.Sh RETURN VALUES
83f1a3c524Sschwarze.Fn SSL_library_init
84*536f31e8Sschwarzealways returns 1.
85f1a3c524Sschwarze.Sh SEE ALSO
86*536f31e8Sschwarze.Xr ssl 3
878fba1ec8Sschwarze.Sh HISTORY
888fba1ec8Sschwarze.Fn SSLeay_add_ssl_algorithms
8910e00d17Sschwarzefirst appeared in SSLeay 0.8.0 and has been available since
908fba1ec8Sschwarze.Ox 2.4 .
91a14b330bSschwarze.Pp
92a14b330bSschwarze.Fn SSL_library_init
93a14b330bSschwarzefirst appeared in OpenSSL 0.9.2b and has been available since
94a14b330bSschwarze.Ox 2.6 .
951c77d1feSschwarze.Pp
961c77d1feSschwarze.Fn OpenSSL_add_ssl_algorithms
971c77d1feSschwarzefirst appeared in OpenSSL 0.9.5 and has been available since
981c77d1feSschwarze.Ox 2.7 .
99