mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
Reverse test for clarity; no behavioral change
This commit is contained in:
parent
4c659acad9
commit
549426ace7
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ func (xTransport *XTransport) rebuildTransport() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
for _, supportedVersion := range suite.SupportedVersions {
|
for _, supportedVersion := range suite.SupportedVersions {
|
||||||
if supportedVersion != tls.VersionTLS13 {
|
if supportedVersion == tls.VersionTLS12 {
|
||||||
for _, expectedSuiteID := range xTransport.tlsCipherSuite {
|
for _, expectedSuiteID := range xTransport.tlsCipherSuite {
|
||||||
if expectedSuiteID == suite.ID {
|
if expectedSuiteID == suite.ID {
|
||||||
compatibleSuitesCount += 1
|
compatibleSuitesCount += 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue