summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorjsing <>2019-01-19 03:32:03 +0000
committerjsing <>2019-01-19 03:32:03 +0000
commite8d5b0fd613da2ac0ebbfd92e1cffd96c9968dd0 (patch)
treef493cbe95fba014d831638f1d10fb228a19b687f /src/lib/libcrypto/dsa
parent0dd84cfff186017f1b35dbcd0f85e8555a26583f (diff)
downloadopenbsd-e8d5b0fd613da2ac0ebbfd92e1cffd96c9968dd0.tar.gz
openbsd-e8d5b0fd613da2ac0ebbfd92e1cffd96c9968dd0.tar.bz2
openbsd-e8d5b0fd613da2ac0ebbfd92e1cffd96c9968dd0.zip
Tweak return value handling in the TLSv1.3 handshake code.
The I/O paths are from the tls13_handshake_send_action() and tls13_handshake_recv_action() functions - both of these need to propagate I/O conditions (EOF, failure, want poll in, want poll out) up the stack, so we need to capture and return values <= 0. Use an I/O condition to indicate successful handshake completion. Also, the various send/recv functions are currently unimplemented, so return 0 (failure) rather than 1 (success). ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa')
0 files changed, 0 insertions, 0 deletions