summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_init.c
diff options
context:
space:
mode:
authorjsing <>2024-01-30 14:50:50 +0000
committerjsing <>2024-01-30 14:50:50 +0000
commit805729baee1dff3368eb79d9c05cb48c481c63b8 (patch)
treecefc460f6939c03890e25b57a70c21caf02a8f1d /src/lib/libssl/ssl_init.c
parent58b71efb8cd73a807ec46c267e6e92a1f728420c (diff)
downloadopenbsd-805729baee1dff3368eb79d9c05cb48c481c63b8.tar.gz
openbsd-805729baee1dff3368eb79d9c05cb48c481c63b8.tar.bz2
openbsd-805729baee1dff3368eb79d9c05cb48c481c63b8.zip
Restore SSL_shutdown() two step sequence.
Change SSL_shutdown() such that it will return 0 after sending a close-notify, before potentially returning 1 (indicating that a close-notify has been sent and received) on a subsequent call. Some software depends on this behaviour, even though there are cases where the first call could immediately return 1 (for example, when the peer has already sent a close-notify prior to SSL_shutdown() being called). ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_init.c')
0 files changed, 0 insertions, 0 deletions