source: branches/backfire/package/hostapd/patches/520-timestamp_check.patch @ 26370

Last change on this file since 26370 was 26370, checked in by nbd, 5 years ago

backport mac80211, hostapd, iw, crda from trunk as of r26369

File size: 432 bytes
  • src/tls/x509v3.c

    a b int x509_certificate_chain_validate(stru 
    18541854                if (chain_trusted) 
    18551855                        continue; 
    18561856 
    1857                 if ((unsigned long) now.sec < 
     1857                if ( 
     1858#ifndef NO_TIMESTAMP_CHECK 
     1859                    (unsigned long) now.sec < 
    18581860                    (unsigned long) cert->not_before || 
     1861#endif 
    18591862                    (unsigned long) now.sec > 
    18601863                    (unsigned long) cert->not_after) { 
    18611864                        wpa_printf(MSG_INFO, "X509: Certificate not valid " 
Note: See TracBrowser for help on using the repository browser.