07da6e5b06
The test establish a TLS connection on a socketpair, and then check that by injecting arbitrary data in the client we receive the exact same thing on the server side. The test need more sophistication in general, as to arbitrarily test TLS versions, different ciphers & key exchange, certificates, etc.
8 lines
162 B
Haskell
8 lines
162 B
Haskell
{-# LANGUAGE CPP #-}
|
|
|
|
import qualified Tests.Marshal as Marshal
|
|
import qualified Tests.Connection as Connection
|
|
|
|
main = do
|
|
Marshal.runTests
|
|
Connection.runTests
|