*BIG* verify code reorganisation.
[openssl.git] / crypto / x509 / x509_txt.c
index 209cf5319135dfbc778aa93580d655a531578446..cfb478d4bc5bfd925433a8ba791c7e3315130271 100644 (file)
@@ -132,6 +132,15 @@ const char *X509_verify_cert_error_string(long n)
                return ("certificate rejected");
        case X509_V_ERR_APPLICATION_VERIFICATION:
                return("application verification failure");
                return ("certificate rejected");
        case X509_V_ERR_APPLICATION_VERIFICATION:
                return("application verification failure");
+       case X509_V_ERR_SUBJECT_ISSUER_MISMATCH:
+               return("subject issuer mismatch");
+       case X509_V_ERR_AKID_SKID_MISMATCH:
+               return("authority and subject key identifier mismatch");
+       case X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH:
+               return("authority and issuer serial number mismatch");
+       case X509_V_ERR_KEYUSAGE_NO_CERTSIGN:
+               return("key usage does not include certificate signing");
+
        default:
                sprintf(buf,"error number %ld",n);
                return(buf);
        default:
                sprintf(buf,"error number %ld",n);
                return(buf);