fix client hello relative to the new deprecated record field.

This commit is contained in:
Vincent Hanquez 2012-12-04 08:56:15 +00:00
parent 8b022c48e9
commit c0bdb30482

View file

@ -82,7 +82,7 @@ fakeCipher cid = Cipher
, cipherMinVer = Nothing
}
clienthello ciphers = ClientHello TLS10 (ClientRandom $ B.pack [0..31]) (Session Nothing) ciphers [0] []
clienthello ciphers = ClientHello TLS10 (ClientRandom $ B.pack [0..31]) (Session Nothing) ciphers [0] [] Nothing
openConnection :: String -> String -> [Word16] -> IO (Maybe Word16)
openConnection s p ciphers = do