diff options
author | jsing <> | 2019-02-26 17:38:39 +0000 |
---|---|---|
committer | jsing <> | 2019-02-26 17:38:39 +0000 |
commit | 778ac3e976e281b000c75112e6850b1dff1a0621 (patch) | |
tree | 0c30a6a4c60f631c42cdf28c4e74a6d85654fbb5 /src/lib/libc/stdlib/reallocarray.c | |
parent | b527f7bb3cf6af9f04bfd8795c7aea63f6fee393 (diff) | |
download | openbsd-778ac3e976e281b000c75112e6850b1dff1a0621.tar.gz openbsd-778ac3e976e281b000c75112e6850b1dff1a0621.tar.bz2 openbsd-778ac3e976e281b000c75112e6850b1dff1a0621.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/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions