diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c index cfb478d4bc..ac04d413b3 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 90455525d1..ea5c29c150 100644 --- a/doc/apps/verify.pod +++ b/doc/apps/verify.pod @@ -200,14 +200,14 @@ 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> - -the CRL is not yet valid. Unused. - -=item B<11 X509_V_ERR_CERT_HAS_EXPIRED: Certificate has expired> +=item B<10 X509_V_ERR_CERT_HAS_EXPIRED: certificate has expired> the certificate has expired: that is the notAfter date is before the current time. +=item B<11 X509_V_ERR_CRL_NOT_YET_VALID: CRL is not yet valid> + +the CRL is not yet valid. Unused. + =item B<12 X509_V_ERR_CRL_HAS_EXPIRED: CRL has expired> the CRL has expired. Unused.