libsec: massive cleanup of tlshand.c

don't pass or generate sessionID's. this was never used nor
actually implemented and leaks the process pid.

get rid of version and random field duplications, move TlsSec
structure into TlsConnection.

make msgRecv() clear the message first, get rid of unneccesary
msgClear() calls.
This commit is contained in:
cinap_lenrek 2016-04-17 07:20:54 +02:00
parent 54c49284e0
commit ad6b99359d

File diff suppressed because it is too large Load diff