-/* $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").
}
/*
- * Test whether a is a subset of b.
+ * Test whether |child| is a subset of |parent|.
*/
int
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;
return addr_validate_path_internal(NULL, chain, ext);
}
-#endif /* OPENSSL_NO_RFC3779 */
+#endif /* OPENSSL_NO_RFC3779 */