Explorar o código

Fix TLS fragmentor test

Amir Khan %!s(int64=2) %!d(string=hai) anos
pai
achega
f5a9f5c3a2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      psiphon/tlsDialer_test.go

+ 2 - 0
psiphon/tlsDialer_test.go

@@ -799,6 +799,7 @@ func TestTLSFragmentorWithoutSNI(t *testing.T) {
 			VerifyServerName:              serverName,
 			VerifyPins:                    []string{serverCertificatePin},
 			TrustedCACertificatesFilename: rootCAsFileName,
+			FragmentClientHello:           true,
 		})
 
 	if err == nil {
@@ -817,6 +818,7 @@ func TestTLSFragmentorWithoutSNI(t *testing.T) {
 			VerifyServerName:              serverName,
 			VerifyPins:                    []string{serverCertificatePin},
 			TrustedCACertificatesFilename: rootCAsFileName,
+			FragmentClientHello:           true,
 		})
 
 	if err != nil {