summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_rsa.c
diff options
context:
space:
mode:
authorjsing <>2019-02-28 17:56:43 +0000
committerjsing <>2019-02-28 17:56:43 +0000
commit5276ac364e005ead51fc2c52fac4ee65cdb377e7 (patch)
tree5afffe228b3a0a9a1724ae29407d33698377ad48 /src/lib/libssl/ssl_rsa.c
parenta37e9b8006856006adf07e7e6aa7ec1c4c5f23b7 (diff)
downloadopenbsd-5276ac364e005ead51fc2c52fac4ee65cdb377e7.tar.gz
openbsd-5276ac364e005ead51fc2c52fac4ee65cdb377e7.tar.bz2
openbsd-5276ac364e005ead51fc2c52fac4ee65cdb377e7.zip
Automatically complete the handshake from tls13_legacy_{read,write}_bytes()
If the TLS handshake has not been completed, automatically complete the handshake as part of the read/write call, implementing the current SSL_read()/SSL_write() behaviour. Once the TLS handshake is completed we push a WANT_POLLIN or WANT_POLLOUT back up to the caller, since some applications appear to incorrectly call SSL_read() or SSL_write(), rather than repeating the previous call. This can lead to attempts to read data that does not exist, since the WANT_POLLIN was actually triggered as part of the handshake. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_rsa.c')
0 files changed, 0 insertions, 0 deletions