fix typo, proto should be protocol
[openwrt.git] / package / wpa_supplicant / patches / 100-timestamp_check.patch
1 Index: wpa_supplicant-0.6.3/src/tls/x509v3.c
2 ===================================================================
3 --- wpa_supplicant-0.6.3.orig/src/tls/x509v3.c 2008-02-23 03:45:24.000000000 +0100
4 +++ wpa_supplicant-0.6.3/src/tls/x509v3.c 2008-07-09 12:47:19.000000000 +0200
5 @@ -1551,8 +1551,11 @@
6 if (chain_trusted)
7 continue;
8
9 - if ((unsigned long) now.sec <
10 + if (
11 +#ifndef NO_TIMESTAMP_CHECK
12 + (unsigned long) now.sec <
13 (unsigned long) cert->not_before ||
14 +#endif
15 (unsigned long) now.sec >
16 (unsigned long) cert->not_after) {
17 wpa_printf(MSG_INFO, "X509: Certificate not valid "
This page took 0.046656 seconds and 5 git commands to generate.