diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-04-04 20:21:30 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-04-04 20:21:30 +0000 |
commit | 3e77673653b434b8d54e2f3f1b5ea5120686b689 (patch) | |
tree | aed92fda934c839c8ee3642bf0e405905612501b /lib | |
parent | 2f232bf192f52f29f543a635bd692200543f2f18 (diff) | |
download | gnutls-3e77673653b434b8d54e2f3f1b5ea5120686b689.tar.gz |
GNUTLS_E_UNIX_TIME_LIMIT_REACHED error code was removed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gnutls_errors.c | 1 | ||||
-rw-r--r-- | lib/gnutls_errors_int.h | 1 | ||||
-rw-r--r-- | lib/gnutls_x509.c | 9 |
3 files changed, 0 insertions, 11 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c index 78393e7631..e3f9392fe8 100644 --- a/lib/gnutls_errors.c +++ b/lib/gnutls_errors.c @@ -102,7 +102,6 @@ static gnutls_error_entry error_algorithms[] = { GNUTLS_ERROR_ENTRY( GNUTLS_E_ILLEGAL_PARAMETER, 1), GNUTLS_ERROR_ENTRY( GNUTLS_E_FILE_ERROR, 1), GNUTLS_ERROR_ENTRY( GNUTLS_E_ASCII_ARMOR_ERROR, 1), - GNUTLS_ERROR_ENTRY( GNUTLS_E_UNIX_TIME_LIMIT_EXCEEDED, 1), GNUTLS_ERROR_ENTRY( GNUTLS_E_ASN1_ELEMENT_NOT_FOUND, 1), GNUTLS_ERROR_ENTRY( GNUTLS_E_ASN1_IDENTIFIER_NOT_FOUND, 1), GNUTLS_ERROR_ENTRY( GNUTLS_E_ASN1_DER_ERROR, 1), diff --git a/lib/gnutls_errors_int.h b/lib/gnutls_errors_int.h index 1bbcbb3d6d..5975c30c03 100644 --- a/lib/gnutls_errors_int.h +++ b/lib/gnutls_errors_int.h @@ -63,7 +63,6 @@ #define GNUTLS_E_DH_PRIME_UNACCEPTABLE -63 #define GNUTLS_E_FILE_ERROR -64 #define GNUTLS_E_ASCII_ARMOR_ERROR -65 -#define GNUTLS_E_UNIX_TIME_LIMIT_EXCEEDED -66 #define GNUTLS_E_ASN1_ELEMENT_NOT_FOUND -67 #define GNUTLS_E_ASN1_IDENTIFIER_NOT_FOUND -68 #define GNUTLS_E_ASN1_DER_ERROR -69 diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index c8a8476507..cb5f6c4bc7 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -1954,15 +1954,6 @@ int _gnutls_x509_cert2gnutls_cert(gnutls_cert * gCert, gnutls_datum derCert) gCert->activation_time = _gnutls_x509_get_time(c2, "certificate2", "notBefore"); -#if 0 - if (gCert->expiration_time == (time_t)(-1) || - gCert->activation_time == (time_t)(-1)) { - gnutls_assert(); - asn1_delete_structure(c2); - return GNUTLS_E_UNIX_TIME_LIMIT_EXCEEDED; - } -#endif - gCert->version = _gnutls_x509_get_version(c2, "certificate2"); if (gCert->version < 0) { gnutls_assert(); |