diff options
-rw-r--r-- | src/lib/libcrypto/x509/x509_err.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/libcrypto/x509/x509_err.c b/src/lib/libcrypto/x509/x509_err.c index bcb04f1fd8..2cbd349350 100644 --- a/src/lib/libcrypto/x509/x509_err.c +++ b/src/lib/libcrypto/x509/x509_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_err.c,v 1.21 2023/04/24 08:39:06 job Exp $ */ | 1 | /* $OpenBSD: x509_err.c,v 1.22 2023/05/14 17:20:26 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -71,11 +71,6 @@ static ERR_STRING_DATA X509_str_functs[] = { | |||
71 | {0, NULL} | 71 | {0, NULL} |
72 | }; | 72 | }; |
73 | 73 | ||
74 | static ERR_STRING_DATA X509V3_str_functs[] = { | ||
75 | {ERR_FUNC(0xfff), "CRYPTO_internal"}, | ||
76 | {0, NULL} | ||
77 | }; | ||
78 | |||
79 | static ERR_STRING_DATA X509_str_reasons[] = { | 74 | static ERR_STRING_DATA X509_str_reasons[] = { |
80 | {ERR_REASON(X509_R_BAD_X509_FILETYPE) , "bad x509 filetype"}, | 75 | {ERR_REASON(X509_R_BAD_X509_FILETYPE) , "bad x509 filetype"}, |
81 | {ERR_REASON(X509_R_BASE64_DECODE_ERROR) , "base64 decode error"}, | 76 | {ERR_REASON(X509_R_BASE64_DECODE_ERROR) , "base64 decode error"}, |
@@ -108,6 +103,16 @@ static ERR_STRING_DATA X509_str_reasons[] = { | |||
108 | {0, NULL} | 103 | {0, NULL} |
109 | }; | 104 | }; |
110 | 105 | ||
106 | #undef ERR_FUNC | ||
107 | #undef ERR_REASON | ||
108 | #define ERR_FUNC(func) ERR_PACK(ERR_LIB_X509V3,func,0) | ||
109 | #define ERR_REASON(reason) ERR_PACK(ERR_LIB_X509V3,0,reason) | ||
110 | |||
111 | static ERR_STRING_DATA X509V3_str_functs[] = { | ||
112 | {ERR_FUNC(0xfff), "CRYPTO_internal"}, | ||
113 | {0, NULL} | ||
114 | }; | ||
115 | |||
111 | static ERR_STRING_DATA X509V3_str_reasons[] = { | 116 | static ERR_STRING_DATA X509V3_str_reasons[] = { |
112 | {ERR_REASON(X509V3_R_BAD_IP_ADDRESS) , "bad ip address"}, | 117 | {ERR_REASON(X509V3_R_BAD_IP_ADDRESS) , "bad ip address"}, |
113 | {ERR_REASON(X509V3_R_BAD_OBJECT) , "bad object"}, | 118 | {ERR_REASON(X509V3_R_BAD_OBJECT) , "bad object"}, |