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 10:20:15 +0000 (11:20 +0100)
commitfb9f42e04d1f20ac7d0179d07f4ab7f559948fa6
treee88e7cbfcb646739323af490029efdc015e3eddc
parent833104e6bdfc41db06bf22e129d0ab43278628c5
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