On Wed, Aug 22 2018, Scott Cheloha wrote:
> Check for failure.
>
> Also reuse retval for the buffer length in lieu of strlen.
>
> ok?
Glancing at SSL_write(3), shouldn't this code loop if we get an error
and SSL_get_error(3) returns SSL_ERROR_WANT_READ or
SSL_ERROR_WANT_WRITE? Or perhaps it
Check for failure.
Also reuse retval for the buffer length in lieu of strlen.
ok?
Index: s_time.c
===
RCS file: /cvs/src/usr.bin/openssl/s_time.c,v
retrieving revision 1.29
diff -u -p -r1.29 s_time.c
--- s_time.c22 Aug 2018