summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authortb <>2020-08-31 14:04:51 +0000
committertb <>2020-08-31 14:04:51 +0000
commitfaa6338eb738dc1ea2775806674119a0fb55b190 (patch)
tree724850986fbe9b93cfd38e922f1d17205d123b6b /src/lib/libc/stdlib/malloc.c
parent5df2cd671a3bb55e3ec34638a6a36eef237c529f (diff)
downloadopenbsd-faa6338eb738dc1ea2775806674119a0fb55b190.tar.gz
openbsd-faa6338eb738dc1ea2775806674119a0fb55b190.tar.bz2
openbsd-faa6338eb738dc1ea2775806674119a0fb55b190.zip
Send alert on ssl_get_prev_session failure
ssl_get_prev_session() can fail for various reasons some of which may be internal_error others decode_error alerts. Propagate the appropriate alert up to the caller so we can abort the handshake by sending a fatal alert instead of rudely closing the pipe. Currently only 28 of 292 test cases of tlsfuzzer's test-extension.py pass. With this diff, 272 pass. The rest will require fixes elsewhere. ok beck inoguchi jsing
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions