Make X509v3_addr_get_range() readable.
authortb <tb@openbsd.org>
Tue, 4 Jan 2022 20:21:04 +0000 (20:21 +0000)
committertb <tb@openbsd.org>
Tue, 4 Jan 2022 20:21:04 +0000 (20:21 +0000)
commit37f392f908b3ed4988a0bcf3ee62596398d4ef6c
tree2ef93f2f16c959ea29fd344d8384ecb1f78a9cbd
parent761d8685001ca965e103bafdbbb7012e84cbe5b7
Make X509v3_addr_get_range() readable.

Instead of checking everything in a single if statement, group the
checks according to their purposes.

ok inoguchi jsing
lib/libcrypto/x509/x509_addr.c