summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c
diff options
context:
space:
mode:
authortb <>2022-05-17 08:00:51 +0000
committertb <>2022-05-17 08:00:51 +0000
commitfb501b82535e6677dceed02d6a4a2420f9a8be25 (patch)
tree19fedffbcd0da1a3a418639fe078c3c809dab752 /src/lib/libc/stdlib/system.c
parentcda197b3d8864f040571c54846809867f933099f (diff)
downloadopenbsd-fb501b82535e6677dceed02d6a4a2420f9a8be25.tar.gz
openbsd-fb501b82535e6677dceed02d6a4a2420f9a8be25.tar.bz2
openbsd-fb501b82535e6677dceed02d6a4a2420f9a8be25.zip
Rewrite make_addressRange() using CBS
Factor the trimming of the end and the counting of unused bits into helper functions and reuse an ASN.1 bit string API to set the unused bits and the ASN1_STRING_FLAG_BITS_SET. With a couple of explanatory comments it becomes much clearer what the code is actually doing and why. ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions