summaryrefslogtreecommitdiff
path: root/lib/gnutls_x509.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-04-04 20:21:30 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-04-04 20:21:30 +0000
commit3e77673653b434b8d54e2f3f1b5ea5120686b689 (patch)
treeaed92fda934c839c8ee3642bf0e405905612501b /lib/gnutls_x509.c
parent2f232bf192f52f29f543a635bd692200543f2f18 (diff)
downloadgnutls-3e77673653b434b8d54e2f3f1b5ea5120686b689.tar.gz
GNUTLS_E_UNIX_TIME_LIMIT_REACHED error code was removed
Diffstat (limited to 'lib/gnutls_x509.c')
-rw-r--r--lib/gnutls_x509.c9
1 files changed, 0 insertions, 9 deletions
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();