summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man
diff options
context:
space:
mode:
authorjsing <>2020-06-24 18:04:33 +0000
committerjsing <>2020-06-24 18:04:33 +0000
commitdd53a681ba46ce20012e28fb7cac84550523b4c0 (patch)
tree812d8422db6a4baa06b2ed4cb4f8306da2346ecf /src/lib/libcrypto/man
parent6d11d9e45909678859ee8e9429bd486185758061 (diff)
downloadopenbsd-dd53a681ba46ce20012e28fb7cac84550523b4c0.tar.gz
openbsd-dd53a681ba46ce20012e28fb7cac84550523b4c0.tar.bz2
openbsd-dd53a681ba46ce20012e28fb7cac84550523b4c0.zip
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@
Diffstat (limited to 'src/lib/libcrypto/man')
0 files changed, 0 insertions, 0 deletions