Lines Matching refs:ip2
123 const char *ip2; member
177 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; in test_addr_ranges() local
197 ip2 = a2i_IPADDRESS(ranges[i].ip2); in test_addr_ranges()
198 if (!TEST_ptr(ip2)) in test_addr_ranges()
200 if (!TEST_int_eq(ip2->length, ip1->length)) in test_addr_ranges()
202 if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0)) in test_addr_ranges()
205 if (!TEST_true(X509v3_addr_add_range(addr, ranges[i].afi, NULL, ip1->data, ip2->data))) in test_addr_ranges()
217 ASN1_OCTET_STRING_free(ip2); in test_addr_ranges()
218 ip1 = ip2 = NULL; in test_addr_ranges()
225 ASN1_OCTET_STRING_free(ip2); in test_addr_ranges()
234 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; in test_addr_fam_len() local
246 ip2 = a2i_IPADDRESS(ranges[0].ip2); in test_addr_fam_len()
247 if (!TEST_ptr(ip2)) in test_addr_fam_len()
249 if (!TEST_true(X509v3_addr_add_range(addr, ranges[0].afi, NULL, ip1->data, ip2->data))) in test_addr_fam_len()
320 ASN1_OCTET_STRING_free(ip2); in test_addr_fam_len()
429 ASN1_OCTET_STRING *ip2[3] = { NULL, NULL }; in test_addr_subset() local
436 || !TEST_ptr(ip2[i] = a2i_IPADDRESS(ranges[i].ip2)) in test_addr_subset()
438 ip1[i]->data, ip2[i]->data))) in test_addr_subset()
459 ASN1_OCTET_STRING_free(ip2[i]); in test_addr_subset()