2009-01-28 13:44:24 +00:00
|
|
|
--- a/src/tls/x509v3.c
|
|
|
|
+++ b/src/tls/x509v3.c
|
2011-11-04 01:05:26 +00:00
|
|
|
@@ -1854,6 +1854,9 @@ int x509_certificate_chain_validate(stru
|
2008-07-15 01:40:55 +00:00
|
|
|
if (chain_trusted)
|
|
|
|
continue;
|
|
|
|
|
2011-11-04 01:05:26 +00:00
|
|
|
+#ifdef NO_TIMESTAMP_CHECK
|
|
|
|
+ disable_time_checks = 1;
|
2008-07-15 01:40:55 +00:00
|
|
|
+#endif
|
2011-11-04 01:05:26 +00:00
|
|
|
if (!disable_time_checks &&
|
|
|
|
((unsigned long) now.sec <
|
|
|
|
(unsigned long) cert->not_before ||
|