diff options
author | 2019-02-26 17:38:39 +0000 | |
---|---|---|
committer | 2019-02-26 17:38:39 +0000 | |
commit | 1637394fdfd81fabfdc41438d123a2f7df3257e8 (patch) | |
tree | a22d76e20e58f6f440a70dc919d2696ddfc1cc6e /lib/libc | |
parent | Correctly propagate EOF from BIO in tls13_legacy_wire_read(). (diff) | |
download | wireguard-openbsd-1637394fdfd81fabfdc41438d123a2f7df3257e8.tar.xz wireguard-openbsd-1637394fdfd81fabfdc41438d123a2f7df3257e8.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 'lib/libc')
0 files changed, 0 insertions, 0 deletions