mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-17 02:46:54 +01:00
Fix format string
This commit is contained in:
parent
8ce8deb959
commit
29f1c4c662
@ -77,7 +77,7 @@ func FetchCurrentDNSCryptCert(proxy *Proxy, serverName *string, proto string, pk
|
|||||||
tsBegin := binary.BigEndian.Uint32(binCert[116:120])
|
tsBegin := binary.BigEndian.Uint32(binCert[116:120])
|
||||||
tsEnd := binary.BigEndian.Uint32(binCert[120:124])
|
tsEnd := binary.BigEndian.Uint32(binCert[120:124])
|
||||||
if tsBegin >= tsEnd {
|
if tsBegin >= tsEnd {
|
||||||
dlog.Warnf("[%v] certificate ends before it starts")
|
dlog.Warnf("[%v] certificate ends before it starts (%v >= %v)", providerName, tsBegin, tsEnd)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
ttl := tsEnd - tsBegin
|
ttl := tsEnd - tsBegin
|
||||||
|
Loading…
Reference in New Issue
Block a user