diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-06 14:08:16 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-06 14:08:16 +0000 |
commit | 1ce9ab2bd22104a60a87d4d0df2162171f839fd6 (patch) | |
tree | 721ed847aa07eec61817c325a7ad01d8d8ca46ba /lib | |
parent | e230488cc856d9ba9e2e421fc3a56df8960f75f7 (diff) |
minor tweaks, no code change
Adjust a comment to reality, zap a stray empty line and fix whitespace
before comment after #endif
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/x509/x509_addr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libcrypto/x509/x509_addr.c b/lib/libcrypto/x509/x509_addr.c index 8794180535f..cc77f92509d 100644 --- a/lib/libcrypto/x509/x509_addr.c +++ b/lib/libcrypto/x509/x509_addr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_addr.c,v 1.75 2022/01/05 18:01:27 tb Exp $ */ +/* $OpenBSD: x509_addr.c,v 1.76 2022/01/06 14:08:15 tb Exp $ */ /* * Contributed to the OpenSSL Project by the American Registry for * Internet Numbers ("ARIN"). @@ -1690,7 +1690,7 @@ addr_contains(IPAddressOrRanges *parent, IPAddressOrRanges *child, int length) } /* - * Test whether a is a subset of b. + * Test whether |child| is a subset of |parent|. */ int X509v3_addr_subset(IPAddrBlocks *child, IPAddrBlocks *parent) @@ -1710,7 +1710,6 @@ X509v3_addr_subset(IPAddrBlocks *child, IPAddrBlocks *parent) for (i = 0; i < sk_IPAddressFamily_num(child); i++) { child_af = sk_IPAddressFamily_value(child, i); - parent_af = IPAddressFamily_find_in_parent(parent, child_af); if (parent_af == NULL) return 0; @@ -1952,4 +1951,4 @@ X509v3_addr_validate_resource_set(STACK_OF(X509) *chain, IPAddrBlocks *ext, return addr_validate_path_internal(NULL, chain, ext); } -#endif /* OPENSSL_NO_RFC3779 */ +#endif /* OPENSSL_NO_RFC3779 */ |