summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authorjsing <>2019-02-26 17:38:39 +0000
committerjsing <>2019-02-26 17:38:39 +0000
commit3f2aa1c544a751c53d65687016b02e18e474a19d (patch)
tree0c30a6a4c60f631c42cdf28c4e74a6d85654fbb5 /src/lib/libssl/tls13_handshake.c
parentb6d95bd1b9a0945ebe7eb185c52462dd3b4960fb (diff)
downloadopenbsd-3f2aa1c544a751c53d65687016b02e18e474a19d.tar.gz
openbsd-3f2aa1c544a751c53d65687016b02e18e474a19d.tar.bz2
openbsd-3f2aa1c544a751c53d65687016b02e18e474a19d.zip
Correct return values for non-fatal alerts.
In the close notify case we need to signal EOF and in the user cancelled case we need to return WANT_POLLIN. Returning success results in tls13_record_layer_read_record() thinking that we have record data when we do not, which then results in the content type check later failing. ok tb@
Diffstat (limited to 'src/lib/libssl/tls13_handshake.c')
0 files changed, 0 insertions, 0 deletions