Root/package/hostapd/patches/520-timestamp_check.patch

1--- a/src/tls/x509v3.c
2+++ b/src/tls/x509v3.c
3@@ -1854,6 +1854,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 ||
13

Archive Download this file



interactive