summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_recvmmsg.c
diff options
context:
space:
mode:
authortb <>2022-05-24 20:20:19 +0000
committertb <>2022-05-24 20:20:19 +0000
commit20099e630d4a9487325a0c6004140e34a1e346d4 (patch)
tree8d30b5a757803dd178a7aa8b7aa3de069840c50a /src/regress/lib/libc/sys/t_recvmmsg.c
parent435fb6426e62f7bb0b466ce6432633cd40849810 (diff)
downloadopenbsd-20099e630d4a9487325a0c6004140e34a1e346d4.tar.gz
openbsd-20099e630d4a9487325a0c6004140e34a1e346d4.tar.bz2
openbsd-20099e630d4a9487325a0c6004140e34a1e346d4.zip
Clean up ASN1_item_sign_ctx() a little
Instead of inl, outl, and outll, use in_len, out_len, and buf_out_len. Use the appropriate types for them. Check return values properly, check for overflow. Remove some unnecessary casts and add some for readability. Use asn1_abs_set_unused_bits() instead of inlining it. This removes the last direct consumer of ASN1_STRING_FLAG_BITS_LEFT outside of asn1/a_bitstr.c. The flag is still mentioned in x509/x509_addr.c but that will hopefully go away soon. tweaks/ok jsing
Diffstat (limited to 'src/regress/lib/libc/sys/t_recvmmsg.c')
0 files changed, 0 insertions, 0 deletions