xref: /freebsd/crypto/openssl/doc/man3/ERR_load_crypto_strings.pod (revision cd0d51baaa4509a1db83251a601d34404d20c990)
1=pod
2
3=head1 NAME
4
5ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
6load and free error strings
7
8=head1 SYNOPSIS
9
10Deprecated:
11
12 #include <openssl/err.h>
13
14 #if OPENSSL_API_COMPAT < 0x10100000L
15 void ERR_load_crypto_strings(void);
16 void ERR_free_strings(void);
17 #endif
18
19 #include <openssl/ssl.h>
20
21 #if OPENSSL_API_COMPAT < 0x10100000L
22 void SSL_load_error_strings(void);
23 #endif
24
25=head1 DESCRIPTION
26
27ERR_load_crypto_strings() registers the error strings for all
28B<libcrypto> functions. SSL_load_error_strings() does the same,
29but also registers the B<libssl> error strings.
30
31In versions prior to OpenSSL 1.1.0,
32ERR_free_strings() releases any resources created by the above functions.
33
34=head1 RETURN VALUES
35
36ERR_load_crypto_strings(), SSL_load_error_strings() and
37ERR_free_strings() return no values.
38
39=head1 SEE ALSO
40
41L<ERR_error_string(3)>
42
43=head1 HISTORY
44
45The ERR_load_crypto_strings(), SSL_load_error_strings(), and
46ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
47OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
48
49=head1 COPYRIGHT
50
51Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
52
53Licensed under the OpenSSL license (the "License").  You may not use
54this file except in compliance with the License.  You can obtain a copy
55in the file LICENSE in the source distribution or at
56L<https://www.openssl.org/source/license.html>.
57
58=cut
59