summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-06 22:46:26 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-06 22:46:26 +0100
commita00ddedbd3d2103bd28d8077af2a5e165cb62002 (patch)
treedc3a6ad3201e2554bbfa5f2c38be7c11280703cc
parent40d67276f0b38f5b70a876808cf97f650ec0c80c (diff)
downloadgnutls-a00ddedbd3d2103bd28d8077af2a5e165cb62002.tar.gz
Too old -> superseded.
-rw-r--r--lib/includes/gnutls/gnutls.h.in4
-rw-r--r--lib/x509/verify.c2
-rw-r--r--src/certtool.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index 24f5e8ad9e..c157a04915 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -437,7 +437,7 @@ extern "C"
* should not be trusted.
* @GNUTLS_CERT_NOT_ACTIVATED: The certificate is not yet activated.
* @GNUTLS_CERT_EXPIRED: The certificate has expired.
- * @GNUTLS_CERT_REVOCATION_DATA_TOO_OLD: The OCSP revocation data are too old.
+ * @GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED: The revocation data are old and have been superseded.
* @GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE: The revocation data have a future issue date.
*
* Enumeration of certificate status codes. Note that the status
@@ -454,7 +454,7 @@ extern "C"
GNUTLS_CERT_NOT_ACTIVATED = 1<<9,
GNUTLS_CERT_EXPIRED = 1<<10,
GNUTLS_CERT_SIGNATURE_FAILURE = 1<<11,
- GNUTLS_CERT_REVOCATION_DATA_TOO_OLD = 1<<12,
+ GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED = 1<<12,
GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE = 1<<15,
} gnutls_certificate_status_t;
diff --git a/lib/x509/verify.c b/lib/x509/verify.c
index 318aec5933..f336633ad4 100644
--- a/lib/x509/verify.c
+++ b/lib/x509/verify.c
@@ -1138,7 +1138,7 @@ _gnutls_verify_crl2 (gnutls_x509_crl_t crl,
*output |= GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE;
if (gnutls_x509_crl_get_next_update (crl) < now)
- *output |= GNUTLS_CERT_REVOCATION_DATA_TOO_OLD;
+ *output |= GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED;
cleanup:
diff --git a/src/certtool.c b/src/certtool.c
index e1b1f55c29..f182977bc6 100644
--- a/src/certtool.c
+++ b/src/certtool.c
@@ -2346,7 +2346,7 @@ verify_crl (common_info_st * cinfo)
comma = 1;
}
- if (output & GNUTLS_CERT_REVOCATION_DATA_TOO_OLD)
+ if (output & GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED)
{
if (comma)
fprintf (outfile, ", ");