Ignore non-fatal TLS_ALERT_MSG.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 16 Jan 2017 10:44:55 +0000 (19:44 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 16 Jan 2017 10:44:55 +0000 (19:44 +0900)
commitc9231ca6c256708d6e8d583f54bb339d4c6e14c7
tree2981ebc35e2c6869ae4e24e944cd3bc2e74a8134
parent907219a13b74e4903cc776bd70519cc23a98c227
Ignore non-fatal TLS_ALERT_MSG.

* src/protocol.c (_ntbtls_read_record): Skip to next message.

--

The bug is describe in MbedTLS:

https://tls.mbed.org/discussions/bug-report-issues/mishandling-of-non-fatal-alerts-client-side

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/protocol.c