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