xref: /freebsd-src/crypto/openssl/doc/man3/ERR_load_crypto_strings.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
6e71b7053SJung-uk Kimload and free error strings
7e71b7053SJung-uk Kim
8e71b7053SJung-uk Kim=head1 SYNOPSIS
9e71b7053SJung-uk Kim
10*b077aed3SPierre ProncheryThe following functions have been deprecated since OpenSSL 1.1.0, and can be
11*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
12*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>:
13e71b7053SJung-uk Kim
14e71b7053SJung-uk Kim #include <openssl/err.h>
15e71b7053SJung-uk Kim
16e71b7053SJung-uk Kim void ERR_load_crypto_strings(void);
17e71b7053SJung-uk Kim void ERR_free_strings(void);
18e71b7053SJung-uk Kim
19e71b7053SJung-uk Kim #include <openssl/ssl.h>
20e71b7053SJung-uk Kim
21e71b7053SJung-uk Kim void SSL_load_error_strings(void);
22e71b7053SJung-uk Kim
23e71b7053SJung-uk Kim=head1 DESCRIPTION
24e71b7053SJung-uk Kim
25e71b7053SJung-uk KimERR_load_crypto_strings() registers the error strings for all
26e71b7053SJung-uk KimB<libcrypto> functions. SSL_load_error_strings() does the same,
27e71b7053SJung-uk Kimbut also registers the B<libssl> error strings.
28e71b7053SJung-uk Kim
29e71b7053SJung-uk KimIn versions prior to OpenSSL 1.1.0,
30e71b7053SJung-uk KimERR_free_strings() releases any resources created by the above functions.
31e71b7053SJung-uk Kim
32e71b7053SJung-uk Kim=head1 RETURN VALUES
33e71b7053SJung-uk Kim
34e71b7053SJung-uk KimERR_load_crypto_strings(), SSL_load_error_strings() and
35e71b7053SJung-uk KimERR_free_strings() return no values.
36e71b7053SJung-uk Kim
37e71b7053SJung-uk Kim=head1 SEE ALSO
38e71b7053SJung-uk Kim
39e71b7053SJung-uk KimL<ERR_error_string(3)>
40e71b7053SJung-uk Kim
41e71b7053SJung-uk Kim=head1 HISTORY
42e71b7053SJung-uk Kim
43e71b7053SJung-uk KimThe ERR_load_crypto_strings(), SSL_load_error_strings(), and
44e71b7053SJung-uk KimERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
45e71b7053SJung-uk KimOPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
46e71b7053SJung-uk Kim
47e71b7053SJung-uk Kim=head1 COPYRIGHT
48e71b7053SJung-uk Kim
49*b077aed3SPierre ProncheryCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
50e71b7053SJung-uk Kim
51*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
52e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
53e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
54e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
55e71b7053SJung-uk Kim
56e71b7053SJung-uk Kim=cut
57