diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_txt.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c index 461d1399c2..fb33fd7dc2 100644 --- a/src/lib/libcrypto/x509/x509_txt.c +++ b/src/lib/libcrypto/x509/x509_txt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_txt.c,v 1.26 2022/11/29 07:23:03 tb Exp $ */ | 1 | /* $OpenBSD: x509_txt.c,v 1.27 2022/11/29 12:23:43 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -111,15 +111,15 @@ X509_verify_cert_error_string(long n) | |||
111 | case X509_V_ERR_CERT_REVOKED: | 111 | case X509_V_ERR_CERT_REVOKED: |
112 | return "certificate revoked"; | 112 | return "certificate revoked"; |
113 | case X509_V_ERR_INVALID_CA: | 113 | case X509_V_ERR_INVALID_CA: |
114 | return "invalid CA certificate"; | 114 | return "invalid CA certificate"; |
115 | case X509_V_ERR_PATH_LENGTH_EXCEEDED: | 115 | case X509_V_ERR_PATH_LENGTH_EXCEEDED: |
116 | return "path length constraint exceeded"; | 116 | return "path length constraint exceeded"; |
117 | case X509_V_ERR_INVALID_PURPOSE: | 117 | case X509_V_ERR_INVALID_PURPOSE: |
118 | return "unsupported certificate purpose"; | 118 | return "unsupported certificate purpose"; |
119 | case X509_V_ERR_CERT_UNTRUSTED: | 119 | case X509_V_ERR_CERT_UNTRUSTED: |
120 | return "certificate not trusted"; | 120 | return "certificate not trusted"; |
121 | case X509_V_ERR_CERT_REJECTED: | 121 | case X509_V_ERR_CERT_REJECTED: |
122 | return "certificate rejected"; | 122 | return "certificate rejected"; |
123 | case X509_V_ERR_SUBJECT_ISSUER_MISMATCH: | 123 | case X509_V_ERR_SUBJECT_ISSUER_MISMATCH: |
124 | return "subject issuer mismatch"; | 124 | return "subject issuer mismatch"; |
125 | case X509_V_ERR_AKID_SKID_MISMATCH: | 125 | case X509_V_ERR_AKID_SKID_MISMATCH: |
@@ -137,13 +137,14 @@ X509_verify_cert_error_string(long n) | |||
137 | case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: | 137 | case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: |
138 | return "unhandled critical CRL extension"; | 138 | return "unhandled critical CRL extension"; |
139 | case X509_V_ERR_INVALID_NON_CA: | 139 | case X509_V_ERR_INVALID_NON_CA: |
140 | return "invalid non-CA certificate (has CA markings)"; | 140 | return "invalid non-CA certificate (has CA markings)"; |
141 | case X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED: | 141 | case X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED: |
142 | return "proxy path length constraint exceeded"; | 142 | return "proxy path length constraint exceeded"; |
143 | case X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE: | 143 | case X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE: |
144 | return "key usage does not include digital signature"; | 144 | return "key usage does not include digital signature"; |
145 | case X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED: | 145 | case X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED: |
146 | return "proxy certificates not allowed, please set the appropriate flag"; | 146 | return "proxy certificates not allowed, " |
147 | "please set the appropriate flag"; | ||
147 | case X509_V_ERR_INVALID_EXTENSION: | 148 | case X509_V_ERR_INVALID_EXTENSION: |
148 | return "invalid or inconsistent certificate extension"; | 149 | return "invalid or inconsistent certificate extension"; |
149 | case X509_V_ERR_INVALID_POLICY_EXTENSION: | 150 | case X509_V_ERR_INVALID_POLICY_EXTENSION: |