summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/div.c
diff options
context:
space:
mode:
authorjsing <>2015-09-10 10:14:21 +0000
committerjsing <>2015-09-10 10:14:21 +0000
commit801db6d0104e7b66f26bfc8d07ecb98601abc7ee (patch)
treeb1c4283700879b3793a5395cbab5ffd49e03f34f /src/lib/libc/stdlib/div.c
parent0dc5f09cfe416c2447e33a7ef2cbed7570956a15 (diff)
downloadopenbsd-801db6d0104e7b66f26bfc8d07ecb98601abc7ee.tar.gz
openbsd-801db6d0104e7b66f26bfc8d07ecb98601abc7ee.tar.bz2
openbsd-801db6d0104e7b66f26bfc8d07ecb98601abc7ee.zip
Split tls_handshake() out from tls_accept/tls_connect. By doing this the
tls_accept/tls_connect functions can be guaranteed to succeed or fail and will no longer return TLS_READ_AGAIN/TLS_WRITE_AGAIN. This also resolves the semantics of tls_accept_*. The tls_handshake() function now does I/O and can return TLS_READ_AGAIN/TLS_WRITE_AGAIN. Calls to tls_read() and tls_write() will trigger the handshake if it has not already completed, meaning that in many cases existing code will continue to work. Discussed over many coffees at l2k15. ok beck@ bluhm@
Diffstat (limited to 'src/lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions