diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c index 417be4183272ef7e5248e4cac26f5b57de3aae9e..bcf38a6c919c034e66f95f84ff62e716b60a2e2c 100644 --- a/crypto/x509/x509_txt.c +++ b/crypto/x509/x509_txt.c @@ -95,7 +95,7 @@ const char *X509_verify_cert_error_string(long n) case X509_V_ERR_CRL_NOT_YET_VALID: return("CRL is not yet valid"); case X509_V_ERR_CERT_HAS_EXPIRED: - return("Certificate has expired"); + return("certificate has expired"); case X509_V_ERR_CRL_HAS_EXPIRED: return("CRL has expired"); case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD: diff --git a/doc/apps/verify.pod b/doc/apps/verify.pod index 90455525d117a23b6f37e6ecefc2bb071a28174b..ea5c29c150218f3131970c36b4de276ac1cc1f18 100644 --- a/doc/apps/verify.pod +++ b/doc/apps/verify.pod @@ -200,13 +200,13 @@ the signature of the certificate is invalid. Unused. the certificate is not yet valid: the notBefore date is after the current time. -=item B<10 X509_V_ERR_CRL_NOT_YET_VALID: CRL is not yet valid> +=item B<10 X509_V_ERR_CERT_HAS_EXPIRED: certificate has expired> -the CRL is not yet valid. Unused. +the certificate has expired: that is the notAfter date is before the current time. -=item B<11 X509_V_ERR_CERT_HAS_EXPIRED: Certificate has expired> +=item B<11 X509_V_ERR_CRL_NOT_YET_VALID: CRL is not yet valid> -the certificate has expired: that is the notAfter date is before the current time. +the CRL is not yet valid. Unused. =item B<12 X509_V_ERR_CRL_HAS_EXPIRED: CRL has expired>