Polish X509v3_addr_subset() a bit
authortb <tb@openbsd.org>
Wed, 5 Jan 2022 07:37:01 +0000 (07:37 +0000)
committertb <tb@openbsd.org>
Wed, 5 Jan 2022 07:37:01 +0000 (07:37 +0000)
commit5b11d0bb5d4febd3d647e03664fcdaecbea8eb0f
tree60600b1e5ef61f28eff550f3425b2029d0834e42
parentd946f2a2cfac469b04e1328e5e1be682be2d0440
Polish X509v3_addr_subset() a bit

Use child and parent instead of a and b. Split unrelated checks. Use
accessors and assign to local variables to avoid ugly line wrapping.
Declare vriables up front instead of mixing declarations with
assignments from function returns.

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