Lines Matching refs:NULL
20 static EVP_PKEY *pubkey = NULL;
21 static EVP_PKEY *privkey = NULL;
22 static EVP_MD *signmd = NULL;
95 X509 *x = NULL; in test_x509_tbs_cache()
98 ret = TEST_ptr(x = d2i_X509(NULL, &p, sizeof(certdata))) in test_x509_tbs_cache()
113 X509_CRL *crl = NULL; in test_x509_crl_tbs_cache()
116 ret = TEST_ptr(crl = d2i_X509_CRL(NULL, &p, sizeof(crldata))) in test_x509_crl_tbs_cache()
127 BIO *bio = NULL; in test_asn1_item_verify()
128 X509 *x509 = NULL; in test_asn1_item_verify()
130 const ASN1_BIT_STRING *sig = NULL; in test_asn1_item_verify()
131 const X509_ALGOR *alg = NULL; in test_asn1_item_verify()
134 RSA *rsa = NULL; in test_asn1_item_verify()
139 || !TEST_ptr(x509 = PEM_read_bio_X509(bio, NULL, NULL, NULL)) in test_asn1_item_verify()
162 NULL, pkey), 0)) { in test_asn1_item_verify()
193 pubkey = d2i_PUBKEY(NULL, &p, sizeof(pubkeydata)); in setup_tests()
196 privkey = d2i_PrivateKey(EVP_PKEY_EC, NULL, &p, sizeof(privkeydata)); in setup_tests()
198 if (pubkey == NULL || privkey == NULL) { in setup_tests()
204 signmd = EVP_MD_fetch(NULL, "SHA384", NULL); in setup_tests()
205 if (signmd == NULL) { in setup_tests()