| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  | =pod | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =head1 NAME | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings - | 
					
						
							| 
									
										
										
										
											2000-02-24 19:55:57 +08:00
										 |  |  | load and free error strings | 
					
						
							| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | =head1 SYNOPSIS | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-02 19:33:49 +08:00
										 |  |  | The following functions have been deprecated since OpenSSL 1.1.0, and can be | 
					
						
							|  |  |  | hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, | 
					
						
							|  |  |  | see L<openssl_user_macros(7)>: | 
					
						
							| 
									
										
										
										
											2016-04-04 20:43:58 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  |  #include <openssl/err.h> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-06 18:13:25 +08:00
										 |  |  |  void ERR_load_crypto_strings(void); | 
					
						
							|  |  |  |  void ERR_free_strings(void); | 
					
						
							| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |  #include <openssl/ssl.h> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-06 18:13:25 +08:00
										 |  |  |  void SSL_load_error_strings(void); | 
					
						
							| 
									
										
										
										
											2016-05-20 20:11:46 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  | =head1 DESCRIPTION | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ERR_load_crypto_strings() registers the error strings for all | 
					
						
							|  |  |  | B<libcrypto> functions. SSL_load_error_strings() does the same, | 
					
						
							|  |  |  | but also registers the B<libssl> error strings. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-02 21:35:50 +08:00
										 |  |  | In versions prior to OpenSSL 1.1.0, | 
					
						
							|  |  |  | ERR_free_strings() releases any resources created by the above functions. | 
					
						
							| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | =head1 RETURN VALUES | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ERR_load_crypto_strings(), SSL_load_error_strings() and | 
					
						
							|  |  |  | ERR_free_strings() return no values. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =head1 SEE ALSO | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-02 23:07:21 +08:00
										 |  |  | L<ERR_error_string(3)> | 
					
						
							| 
									
										
										
										
											2000-02-01 09:37:00 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-10 00:52:40 +08:00
										 |  |  | =head1 HISTORY | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The ERR_load_crypto_strings(), SSL_load_error_strings(), and | 
					
						
							|  |  |  | ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by | 
					
						
							| 
									
										
										
										
											2017-09-02 21:35:50 +08:00
										 |  |  | OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used. | 
					
						
							| 
									
										
										
										
											2016-02-10 00:52:40 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-05-18 23:44:05 +08:00
										 |  |  | =head1 COPYRIGHT | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-14 22:41:27 +08:00
										 |  |  | Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. | 
					
						
							| 
									
										
										
										
											2016-05-18 23:44:05 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-06 21:04:44 +08:00
										 |  |  | Licensed under the Apache License 2.0 (the "License").  You may not use | 
					
						
							| 
									
										
										
										
											2016-05-18 23:44:05 +08:00
										 |  |  | this file except in compliance with the License.  You can obtain a copy | 
					
						
							|  |  |  | in the file LICENSE in the source distribution or at | 
					
						
							|  |  |  | L<https://www.openssl.org/source/license.html>. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =cut |