tls: first crack at generic message compiler
commit64b9b40b06a2262be7e6aef7480aaa733fd6440c
authorStefan Becker <chemobejk@gmail.com>
Wed, 16 Nov 2011 06:25:15 +0000 (16 08:25 +0200)
committerStefan Becker <chemobejk@gmail.com>
Wed, 16 Nov 2011 19:41:21 +0000 (16 21:41 +0200)
treec82ae9b0161ccc822f86e027116e099faaa448c7
parent804817c9c2c4c2c42deff3edfdb762c513dd003e
tls: first crack at generic message compiler

It successfully compiles our ClientHello_host to TLS.

As additional check we return the result of tls_record_parse() from the
outgoing message. If we compile an incorrect TLS message then the
handshake will automatically be aborted.
src/core/sipe-tls.c