diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/x509_txt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c index 209cf53191..cfb478d4bc 100644 --- a/src/lib/libcrypto/x509/x509_txt.c +++ b/src/lib/libcrypto/x509/x509_txt.c | |||
@@ -132,6 +132,15 @@ const char *X509_verify_cert_error_string(long n) | |||
132 | return ("certificate rejected"); | 132 | return ("certificate rejected"); |
133 | case X509_V_ERR_APPLICATION_VERIFICATION: | 133 | case X509_V_ERR_APPLICATION_VERIFICATION: |
134 | return("application verification failure"); | 134 | return("application verification failure"); |
135 | case X509_V_ERR_SUBJECT_ISSUER_MISMATCH: | ||
136 | return("subject issuer mismatch"); | ||
137 | case X509_V_ERR_AKID_SKID_MISMATCH: | ||
138 | return("authority and subject key identifier mismatch"); | ||
139 | case X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH: | ||
140 | return("authority and issuer serial number mismatch"); | ||
141 | case X509_V_ERR_KEYUSAGE_NO_CERTSIGN: | ||
142 | return("key usage does not include certificate signing"); | ||
143 | |||
135 | default: | 144 | default: |
136 | sprintf(buf,"error number %ld",n); | 145 | sprintf(buf,"error number %ld",n); |
137 | return(buf); | 146 | return(buf); |