obey the port selection with stunnel client.
This commit is contained in:
parent
abf299db36
commit
03790957d8
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ mainClient host port = do
|
|||
premasterRandom <- (ClientKeyData . B.unpack) `fmap` AESRand.randBytes 46
|
||||
seqInit <- fmap (conv . B.unpack) $ AESRand.randBytes 4
|
||||
|
||||
handle <- connectTo host (PortNumber 6061)
|
||||
handle <- connectTo host (PortNumber $ fromIntegral port)
|
||||
hSetBuffering handle NoBuffering
|
||||
|
||||
let clientstate = C.TLSClientParams
|
||||
|
|
Loading…
Reference in a new issue