CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2020/06/24 12:04:33

Modified files:
        lib/libssl     : tls13_legacy.c 

Log message:
Make tls13_legacy_shutdown() match ssl3_shutdown() semantics.

When first called, queue and send a close notify, before returning 0 or 1
to indicate if a close notify has already been received from the peer. If
called again only attempt to read a close notify if there is no pending
application data and only read one record from the wire. In particular,
this avoids continuing to read application data where the peer continues
to send application data.

Issue noted by naddy@ with ftp(1).

ok jca@ tb@

Reply via email to