hostapd: initial prototype of an ubus binding
[openwrt/svn-archive/archive.git] / package / network / services / 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 ||