aboutsummaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/patches/100-timestamp_check.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-15 01:40:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-15 01:40:55 +0000
commit1fc2cf08a6b6aa55723ce2fb64e1544a2faaf07e (patch)
treee458a48982df5cad1ec58a126c40c9a16bb73a43 /package/wpa_supplicant/patches/100-timestamp_check.patch
parent89eb716470a2262ccb855d7402711b940805ef20 (diff)
downloadupstream-1fc2cf08a6b6aa55723ce2fb64e1544a2faaf07e.tar.gz
upstream-1fc2cf08a6b6aa55723ce2fb64e1544a2faaf07e.tar.bz2
upstream-1fc2cf08a6b6aa55723ce2fb64e1544a2faaf07e.zip
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)
SVN-Revision: 11833
Diffstat (limited to 'package/wpa_supplicant/patches/100-timestamp_check.patch')
-rw-r--r--package/wpa_supplicant/patches/100-timestamp_check.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/wpa_supplicant/patches/100-timestamp_check.patch b/package/wpa_supplicant/patches/100-timestamp_check.patch
new file mode 100644
index 0000000000..d994a65ae9
--- /dev/null
+++ b/package/wpa_supplicant/patches/100-timestamp_check.patch
@@ -0,0 +1,17 @@
+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 "