1ERR_load_crypto_strings(3) OpenSSL ERR_load_crypto_strings(3)
2
3
4
6 ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
7 load and free error strings
8
10 #include <openssl/err.h>
11
12 void ERR_load_crypto_strings(void);
13 void ERR_free_strings(void);
14
15 #include <openssl/ssl.h>
16
17 void SSL_load_error_strings(void);
18
20 ERR_load_crypto_strings() registers the error strings for all libcrypto
21 functions. SSL_load_error_strings() does the same, but also registers
22 the libssl error strings.
23
24 One of these functions should be called before generating textual error
25 messages. However, this is not required when memory usage is an issue.
26
27 ERR_free_strings() frees all previously loaded error strings.
28
30 ERR_load_crypto_strings(), SSL_load_error_strings() and
31 ERR_free_strings() return no values.
32
34 err(3), ERR_error_string(3)
35
37 ERR_load_error_strings(), SSL_load_error_strings() and
38 ERR_free_strings() are available in all versions of SSLeay and OpenSSL.
39
40
41
421.0.2k 2017-01-26 ERR_load_crypto_strings(3)