summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authortb <>2024-03-29 03:23:01 +0000
committertb <>2024-03-29 03:23:01 +0000
commit2077b948490d2cc3e84f8bfb5437d5f061ce6703 (patch)
treecd0a757e30eddf86936b1c3b5caf38b04f930931 /src/lib/libc/stdlib/reallocarray.c
parent203be6bbb69ba30845cd753c14dbc11d40254691 (diff)
downloadopenbsd-2077b948490d2cc3e84f8bfb5437d5f061ce6703.tar.gz
openbsd-2077b948490d2cc3e84f8bfb5437d5f061ce6703.tar.bz2
openbsd-2077b948490d2cc3e84f8bfb5437d5f061ce6703.zip
Improve error checking in i2d_ASN1_bio_stream()
The streaming BIO API is full of missing error checks. This diff reverts the logic so that the single call to ASN1_item_i2d_bio() is error checked (it has the usual 1/0 return values), unindents the bulk of the code and propagates the SMIME_crlf_copy() return value (alos 1/0) to be the actual error. ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions