commit | 1bf86b7e32b12c961c8078ed2b3c63c7b5e1927a | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Thu Jun 08 15:58:02 2017 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Thu Jun 08 15:59:41 2017 +0100 |
tree | f64172c5ab475bc3515b23aa15cbf64b742c854f | |
parent | d37839e3fabccb62dbd3e45ba5e6f7fef5d43e5b [diff] |
Add hard assertion to ssl_read_record This commit adds a hard assertion to mbedtls_ssl_read_record triggering if both ssl->in_hslen and ssl->in_offt are not 0. This should never happen, and if it does, there's no sensible way of telling whether the previous message was a handshake or an application data message.