diff options
-rw-r--r-- | crypto/x509/x509_txt.c | 2 | ||||
-rw-r--r-- | doc/apps/verify.pod | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c index 417be41832..bcf38a6c91 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,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> |