Lines Matching refs:NULL

24     X509 *x = NULL;  in test_pathlen()
25 BIO *b = NULL; in test_pathlen()
30 || !TEST_ptr(x = PEM_read_bio_X509(b, NULL, NULL, NULL)) in test_pathlen()
45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid()
59 if (!TEST_true(X509v3_asid_add_id_or_range(asid1, V3_ASID_ASNUM, val1, NULL))) in test_asid()
62 val1 = NULL; in test_asid()
67 if (!TEST_true(X509v3_asid_add_id_or_range(asid2, V3_ASID_ASNUM, val2, NULL))) in test_asid()
70 val2 = NULL; in test_asid()
83 val1 = val2 = NULL; in test_asid()
86 if (!TEST_true(X509v3_asid_subset(NULL, NULL)) in test_asid()
87 || !TEST_true(X509v3_asid_subset(NULL, asid1)) in test_asid()
99 if (!TEST_false(X509v3_asid_subset(asid1, NULL)) in test_asid()
176 IPAddrBlocks *addr = NULL; in test_addr_ranges()
177 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; 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()
215 addr = NULL; in test_addr_ranges()
218 ip1 = ip2 = NULL; in test_addr_ranges()
232 IPAddrBlocks *addr = NULL; in test_addr_fam_len()
233 IPAddressFamily *f1 = NULL; in test_addr_fam_len()
234 ASN1_OCTET_STRING *ip1 = NULL, *ip2 = NULL; 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()
262 if ((f1 = IPAddressFamily_new()) == NULL) in test_addr_fam_len()
264 if (f1->ipAddressChoice == NULL && in test_addr_fam_len()
265 (f1->ipAddressChoice = IPAddressChoice_new()) == NULL) in test_addr_fam_len()
267 if (f1->addressFamily == NULL && in test_addr_fam_len()
268 (f1->addressFamily = ASN1_OCTET_STRING_new()) == NULL) in test_addr_fam_len()
276 f1 = NULL; in test_addr_fam_len()
290 if ((f1 = IPAddressFamily_new()) == NULL) in test_addr_fam_len()
292 if (f1->ipAddressChoice == NULL && in test_addr_fam_len()
293 (f1->ipAddressChoice = IPAddressChoice_new()) == NULL) in test_addr_fam_len()
295 if (f1->addressFamily == NULL && in test_addr_fam_len()
296 (f1->addressFamily = ASN1_OCTET_STRING_new()) == NULL) in test_addr_fam_len()
307 f1 = NULL; in test_addr_fam_len()
386 conf = NCONF_new_ex(NULL, NULL); in test_ext_syntax()
399 NULL))) { in test_ext_syntax()
406 NULL))) { in test_ext_syntax()
426 IPAddrBlocks *addrEmpty = NULL; in test_addr_subset()
427 IPAddrBlocks *addr[3] = { NULL, NULL }; in test_addr_subset()
428 ASN1_OCTET_STRING *ip1[3] = { NULL, NULL }; in test_addr_subset()
429 ASN1_OCTET_STRING *ip2[3] = { NULL, NULL }; in test_addr_subset()
437 || !TEST_true(X509v3_addr_add_range(addr[i], ranges[i].afi, NULL, in test_addr_subset()
443 && TEST_true(X509v3_addr_subset(NULL, NULL)) in test_addr_subset()
444 && TEST_true(X509v3_addr_subset(NULL, addr[0])) in test_addr_subset()
450 && TEST_false(X509v3_addr_subset(addr[0], NULL)) in test_addr_subset()