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
commitf8b3a9d693b2a7607f0465af5779aae4668929d2 (patch)
tree19fedffbcd0da1a3a418639fe078c3c809dab752 /src/lib/libc/stdlib/system.c
parent822fd76f3565b637e78caf45edcb7aee051feb99 (diff)
downloadopenbsd-f8b3a9d693b2a7607f0465af5779aae4668929d2.tar.gz
openbsd-f8b3a9d693b2a7607f0465af5779aae4668929d2.tar.bz2
openbsd-f8b3a9d693b2a7607f0465af5779aae4668929d2.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