Retry SSL_read on ERROR_WANT_READ.
authorRoelof duToit <r@dutoit.za.net>
Thu, 13 Jul 2017 17:07:26 +0000 (13:07 -0400)
committerMatt Caswell <matt@openssl.org>
Fri, 14 Jul 2017 09:32:29 +0000 (10:32 +0100)
commitf32bf051cf1c376216bf4fec905fafebeb6ec2dc
treecb429b87310591c47a99083eb035657b5c50a681
parent4a60bb1898ca8271a6ae46e2e2e805879eb38931
Retry SSL_read on ERROR_WANT_READ.
This resolves the retry issue in general, but also the specific case where a TLS 1.3 server sends a post-handshake NewSessionTicket message prior to appdata.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3925)
apps/s_time.c