[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / hostapd / patches / 420-timestamp_check.patch
1 --- a/src/tls/x509v3.c
2 +++ b/src/tls/x509v3.c
3 @@ -1848,6 +1848,9 @@ int x509_certificate_chain_validate(stru
4 if (chain_trusted)
5 continue;
6
7 +#ifdef NO_TIMESTAMP_CHECK
8 + disable_time_checks = 1;
9 +#endif
10 if (!disable_time_checks &&
11 ((unsigned long) now.sec <
12 (unsigned long) cert->not_before ||
This page took 0.039374 seconds and 5 git commands to generate.