diff options
author | tb <> | 2024-03-29 03:23:01 +0000 |
---|---|---|
committer | tb <> | 2024-03-29 03:23:01 +0000 |
commit | a96e0abd8a5885d07be3c77396ac336809bb8ef4 (patch) | |
tree | cd0a757e30eddf86936b1c3b5caf38b04f930931 /src/lib/libc/stdlib/hcreate.3 | |
parent | bb5d6b75525ca10902d24f410be4cc261d7258de (diff) | |
download | openbsd-a96e0abd8a5885d07be3c77396ac336809bb8ef4.tar.gz openbsd-a96e0abd8a5885d07be3c77396ac336809bb8ef4.tar.bz2 openbsd-a96e0abd8a5885d07be3c77396ac336809bb8ef4.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/hcreate.3')
0 files changed, 0 insertions, 0 deletions