Skip to content

Commit 25664b9

Browse files
committed
Be more tolerant
1 parent ed352cc commit 25664b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dnscrypt-proxy/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func FetchCurrentCert(proxy *Proxy, proto string, pk ed25519.PublicKey, serverAd
7676
continue
7777
}
7878
ttl := tsEnd - tsBegin
79-
if ttl > 86400 {
79+
if ttl > 86400*7 {
8080
dlog.Warnf("[%v] the key validity period for this server is excessively long (%d days), significantly reducing reliability and forward security.", providerName, ttl/86400)
8181
}
8282
if now > tsEnd || now < tsBegin {

0 commit comments

Comments
 (0)