diff options
author | jsing <> | 2024-01-30 14:50:50 +0000 |
---|---|---|
committer | jsing <> | 2024-01-30 14:50:50 +0000 |
commit | 805729baee1dff3368eb79d9c05cb48c481c63b8 (patch) | |
tree | cefc460f6939c03890e25b57a70c21caf02a8f1d /src/lib/libssl/s3_lib.c | |
parent | 58b71efb8cd73a807ec46c267e6e92a1f728420c (diff) | |
download | openbsd-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/s3_lib.c')
0 files changed, 0 insertions, 0 deletions