CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2019/01/18 20:32:03
Modified files: lib/libssl : tls13_handshake.c tls13_internal.h Log message: Tweak return value handling in the TLSv1.3 handshake code. The I/O paths are from the tls13_handshake_send_action() and tls13_handshake_recv_action() functions - both of these need to propagate I/O conditions (EOF, failure, want poll in, want poll out) up the stack, so we need to capture and return values <= 0. Use an I/O condition to indicate successful handshake completion. Also, the various send/recv functions are currently unimplemented, so return 0 (failure) rather than 1 (success). ok tb@