Browse Source

Some gitmetalinter fixes

Rod Hynes 8 years ago
parent
commit
a41beabd78
2 changed files with 3 additions and 1 deletions
  1. 1 1
      psiphon/common/tls/common.go
  2. 2 0
      psiphon/common/tls/obfuscated.go

+ 1 - 1
psiphon/common/tls/common.go

@@ -525,7 +525,7 @@ type Config struct {
 	// EmulateChrome enables a network traffic obfuscation facility that
 	// configures the client hello to match the traffic signature of modern
 	// Chrome browsers using BoringSSL. This affects the selection and
-	// preference order of ciphersuites, and selection and order of extentions.
+	// preference order of ciphersuites, and selection and order of extensions.
 	// CipherSuites is ignored when EmulateChrome is on.
 	EmulateChrome bool
 

+ 2 - 0
psiphon/common/tls/obfuscated.go

@@ -24,6 +24,8 @@ import (
 	"math/big"
 )
 
+// NewObfuscatedClientSessionCache produces obfuscated session tickets.
+//
 // [Psiphon]
 // Obfuscated Session Tickets
 //