mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-03 18:04: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
|
||||
}
|
||||
for _, supportedVersion := range suite.SupportedVersions {
|
||||
if supportedVersion != tls.VersionTLS13 {
|
||||
if supportedVersion == tls.VersionTLS12 {
|
||||
for _, expectedSuiteID := range xTransport.tlsCipherSuite {
|
||||
if expectedSuiteID == suite.ID {
|
||||
compatibleSuitesCount += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue