summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-02-26 17:38:39 +0000
committerjsing <jsing@openbsd.org>2019-02-26 17:38:39 +0000
commit1637394fdfd81fabfdc41438d123a2f7df3257e8 (patch)
treea22d76e20e58f6f440a70dc919d2696ddfc1cc6e /lib/libc
parentCorrectly propagate EOF from BIO in tls13_legacy_wire_read(). (diff)
downloadwireguard-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