mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 01:34:02 +03:00
Fix double TLS wrapping for noise
This commit is contained in:
+1
-1
@@ -204,7 +204,7 @@ func (p *Proxy) doFakeTLSHandshake(ctx *streamContext) ([]byte, bool) {
|
||||
return nil, false
|
||||
}
|
||||
|
||||
ctx.clientConn = tls.New(ctx.clientConn, true, true)
|
||||
ctx.clientConn = tls.New(ctx.clientConn, true, false)
|
||||
|
||||
return noise, true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user