1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 20:55:30 +02:00
openwrt-xburst/package/wpa_supplicant/patches/100-timestamp_check.patch
nbd 56d7991b60 Upgrade wpa_supplicant to 0.6.3 and add some improvements (mainly for roaming with ap_scan=1)
Remove arch specific config files (they seem rather pointless)
Remove the dependency on OpenSSL (use small built-in SSL functions)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-15 01:40:55 +00:00

18 lines
619 B
Diff

Index: wpa_supplicant-0.6.3/src/tls/x509v3.c
===================================================================
--- wpa_supplicant-0.6.3.orig/src/tls/x509v3.c 2008-02-23 03:45:24.000000000 +0100
+++ wpa_supplicant-0.6.3/src/tls/x509v3.c 2008-07-09 12:47:19.000000000 +0200
@@ -1551,8 +1551,11 @@
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 "