commit | bfd0991daae23f6084d9479eee0f306af16bc153 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Wed Oct 25 09:34:48 2017 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Wed Oct 25 09:34:48 2017 +0100 |
tree | a174f1c3f72947c75f2503f7552fddbd7cb24bee | |
parent | 268191a3057363193a7b28d86f42c20eceace390 [diff] |
Fix handling of HS msgs in ssl_read if renegotiation unused Previously, if `POLARSSL_SSL_RENEGOTIATION` was disabled, incoming handshake messages in `ssl_read` (expecting application data) lead to the connection being closed. This commit fixes this, restricting the `POLARSSL_SSL_RENEGOTIATION`-guard to the code-paths responsible for accepting renegotiation requests and aborting renegotiation attempts after too many unexpected records have been received.