Hanno Becker bdf3905fff Ensure application data records are not kept when fully processed
This commit fixes the following case: If a client is both expecting a
SERVER_HELLO and has an application data record that's partially
processed in flight (that's the situation the client gets into after
receiving a ServerHelloRequest followed by ApplicationData), a
subsequent call to mbedtls_ssl_read will set keep_current_message = 1
when seeing the unexpected application data, but not reset it to 0
after the application data has been processed. This commit fixes this.

It also documents and suggests how the problem might be solved in a
more structural way on the long run.
2017-06-09 10:42:03 +01:00
..
2017-05-16 10:22:37 +01:00
2017-02-15 09:08:26 +00:00
2016-01-20 00:44:42 +00:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2017-05-11 22:42:14 +01:00
2015-09-04 14:21:07 +02:00
2016-10-13 13:51:09 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2017-05-11 21:55:17 +01:00
2015-09-04 14:21:07 +02:00
2017-05-16 10:22:37 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00