Skip to content

Commit 0af88bc

Browse files
committed
Merge branch 'master' of github.com:DNSCrypt/dnscrypt-proxy
* 'master' of github.com:DNSCrypt/dnscrypt-proxy: chore: fix some typos in comments
2 parents d36edeb + 041a6c7 commit 0af88bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dnscrypt-proxy/dnscrypt_certs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func FetchCurrentDNSCryptCert(
183183
certCountStr = " - additional certificate"
184184
}
185185
if certInfo.CryptoConstruction == UndefinedConstruction {
186-
return certInfo, 0, fragmentsBlocked, errors.New("No useable certificate found")
186+
return certInfo, 0, fragmentsBlocked, errors.New("No usable certificate found")
187187
}
188188
return certInfo, int(rtt.Nanoseconds() / 1000000), fragmentsBlocked, nil
189189
}

dnscrypt-proxy/serversInfo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ func findFarthestRoute(proxy *Proxy, name string, relayStamps []stamps.ServerSta
362362
server := proxy.serversInfo.registeredServers[serverIdx]
363363
proxy.serversInfo.RUnlock()
364364

365-
// Fall back to random relays until the logic is implementeed for non-DNSCrypt relays
365+
// Fall back to random relays until the logic is implemented for non-DNSCrypt relays
366366
if server.stamp.Proto == stamps.StampProtoTypeODoHTarget {
367367
candidates := make([]int, 0)
368368
for relayIdx, relayStamp := range relayStamps {

0 commit comments

Comments
 (0)