freewtp/src
Andreas Schultz de0ffd5153 properly handle a DTLS handshake failure
early DTLS handshake failures would not terminate the read
loop and cause the remaining handshake bytes to be feed to
packet reader, causing an error assertion.

Rework the main read loop to terminate it when the read
event is not longer active and stop the read event on
handshake failure.

Also, make the DTLS handshake erorr message a bit more readable
by appending the WolfSSL error message to it.

Fixes issue #8.
2016-08-17 15:18:35 +02:00
..
ac use MACSTR and MAC2STR where appropriate 2016-04-06 12:57:56 +02:00
common properly handle a DTLS handshake failure 2016-08-17 15:18:35 +02:00
wtp properly handle a DTLS handshake failure 2016-08-17 15:18:35 +02:00