Skip to content

Commit 549426a

Browse files
committed
Reverse test for clarity; no behavioral change
1 parent 4c659ac commit 549426a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dnscrypt-proxy/xtransport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func (xTransport *XTransport) rebuildTransport() {
236236
continue
237237
}
238238
for _, supportedVersion := range suite.SupportedVersions {
239-
if supportedVersion != tls.VersionTLS13 {
239+
if supportedVersion == tls.VersionTLS12 {
240240
for _, expectedSuiteID := range xTransport.tlsCipherSuite {
241241
if expectedSuiteID == suite.ID {
242242
compatibleSuitesCount += 1

0 commit comments

Comments
 (0)