2008-12-22 21:09:12 +02:00
|
|
|
Index: wpa_supplicant-0.6.6/src/tls/x509v3.c
|
2008-07-15 04:40:55 +03:00
|
|
|
===================================================================
|
2008-12-22 21:09:12 +02:00
|
|
|
--- wpa_supplicant-0.6.6.orig/src/tls/x509v3.c 2008-02-23 03:45:24.000000000 +0100
|
|
|
|
+++ wpa_supplicant-0.6.6/src/tls/x509v3.c 2008-07-09 12:47:19.000000000 +0200
|
|
|
|
@@ -1591,8 +1591,11 @@
|
2008-07-15 04:40:55 +03:00
|
|
|
if (chain_trusted)
|
|
|
|
continue;
|
|
|
|
|
|
|
|
- if ((unsigned long) now.sec <
|
|
|
|
+ if (
|
|
|
|
+#ifndef NO_TIMESTAMP_CHECK
|
|
|
|
+ (unsigned long) now.sec <
|
|
|
|
(unsigned long) cert->not_before ||
|
|
|
|
+#endif
|
|
|
|
(unsigned long) now.sec >
|
|
|
|
(unsigned long) cert->not_after) {
|
|
|
|
wpa_printf(MSG_INFO, "X509: Certificate not valid "
|