| 
									
										
										
										
											2020-07-09 05:04:08 +08:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Generated by util/mkerr.pl DO NOT EDIT | 
					
						
							| 
									
										
										
										
											2021-06-17 20:24:59 +08:00
										 |  |  |  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. | 
					
						
							| 
									
										
										
										
											2020-07-09 05:04:08 +08:00
										 |  |  |  * | 
					
						
							|  |  |  |  * Licensed under the Apache License 2.0 (the "License").  You may not use | 
					
						
							|  |  |  |  * this file except in compliance with the License.  You can obtain a copy | 
					
						
							|  |  |  |  * in the file LICENSE in the source distribution or at | 
					
						
							|  |  |  |  * https://www.openssl.org/source/license.html
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <openssl/err.h>
 | 
					
						
							| 
									
										
										
										
											2020-08-17 03:25:08 +08:00
										 |  |  | #include <openssl/encodererr.h>
 | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | #include "crypto/encodererr.h"
 | 
					
						
							| 
									
										
										
										
											2020-07-09 05:04:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifndef OPENSSL_NO_ERR
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-17 03:25:08 +08:00
										 |  |  | static const ERR_STRING_DATA OSSL_ENCODER_str_reasons[] = { | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_OSSL_ENCODER, 0, OSSL_ENCODER_R_ENCODER_NOT_FOUND), | 
					
						
							| 
									
										
										
										
											2020-09-14 15:20:41 +08:00
										 |  |  |     "encoder not found"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_OSSL_ENCODER, 0, OSSL_ENCODER_R_INCORRECT_PROPERTY_QUERY), | 
					
						
							|  |  |  |     "incorrect property query"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_OSSL_ENCODER, 0, OSSL_ENCODER_R_MISSING_GET_PARAMS), | 
					
						
							|  |  |  |     "missing get params"}, | 
					
						
							| 
									
										
										
										
											2020-07-09 05:04:08 +08:00
										 |  |  |     {0, NULL} | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-25 10:04:22 +08:00
										 |  |  | int ossl_err_load_OSSL_ENCODER_strings(void) | 
					
						
							| 
									
										
										
										
											2020-07-09 05:04:08 +08:00
										 |  |  | { | 
					
						
							|  |  |  | #ifndef OPENSSL_NO_ERR
 | 
					
						
							| 
									
										
										
										
											2020-08-17 03:25:08 +08:00
										 |  |  |     if (ERR_reason_error_string(OSSL_ENCODER_str_reasons[0].error) == NULL) | 
					
						
							|  |  |  |         ERR_load_strings_const(OSSL_ENCODER_str_reasons); | 
					
						
							| 
									
										
										
										
											2020-07-09 05:04:08 +08:00
										 |  |  | #endif
 | 
					
						
							|  |  |  |     return 1; | 
					
						
							|  |  |  | } |