summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorbeck <>2021-07-11 20:18:07 +0000
committerbeck <>2021-07-11 20:18:07 +0000
commit61503dd412d8dc1325b7f7fa2e752b925b1e8b9d (patch)
tree880e8f5861a3b885764099dac44578629840e2c8 /src/lib/libc
parent50cf9b8627997e8f4afdd30db8b001d2a0a24e49 (diff)
downloadopenbsd-61503dd412d8dc1325b7f7fa2e752b925b1e8b9d.tar.gz
openbsd-61503dd412d8dc1325b7f7fa2e752b925b1e8b9d.tar.bz2
openbsd-61503dd412d8dc1325b7f7fa2e752b925b1e8b9d.zip
While the traditional OpenSSL return value and behaviour of BIO_dump(3)
is pure comedy gold, and now documented as such, sadly this bit of pure Muppet genius can't really in good consience stay in the tree as is. Change BIO_dump to always return the number of bytes printed on success and to stop printing and return -1 on failure if a writing function fails. ok tb@, jsing@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions