Browse Source

Fix: missing obfuscation for server identification line padding

Rod Hynes 10 years ago
parent
commit
c206b51c8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      psiphon/obfuscatedSshConn.go

+ 1 - 0
psiphon/obfuscatedSshConn.go

@@ -314,6 +314,7 @@ func (conn *ObfuscatedSshConn) transformAndWrite(buffer []byte) (err error) {
 		if err != nil {
 			return ContextError(err)
 		}
+		conn.writeObfuscate(padding)
 		_, err = conn.Conn.Write(padding)
 		if err != nil {
 			return ContextError(err)