1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-07 09:15:21 +02:00
openwrt-xburst/package/wpa_supplicant/patches/100-timestamp_check.patch
nbd b3cc6af060 wpa_supplicant has been upgraded and previous version
0.6.3 doesn't exist anymore. This patch sets the version and
appropriate md5sum; it also updates all the patches. Note
that patch 130 has been deleted since it seems to be already
included in 0.6.6

Signed-off-by: Jose Vasconcellos <jvasco@verizon.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-22 19:09:12 +00:00

18 lines
619 B
Diff

Index: wpa_supplicant-0.6.6/src/tls/x509v3.c
===================================================================
--- 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 @@
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 "