Hi Cafe,

I am trying to use the TLS package from hackage, and it works fine so
far -- except when a client wants to
do session resumption (note I am not an expert in TLS, so it might be
something quite simple).
In that case, I get an alert, "unexpected message", during handshake.

The handshake goes like this:
ClientHello (with a SessionID)
ServerHello (with the same SessionID)
ServerHelloDone

and then the server says
 (AlertLevel_Fatal,UnexpectedMessage)

I'm not sure whether the "ServerHelloDone" should happen when resuming.
Does anyone have a hint what may be going wrong?
I am using TLS10 and the tls package with version 0.9.6.

Thanks,
Christian

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to