Lines Matching refs:cert
20 static X509 *cert = NULL; variable
38 if (!TEST_int_gt(sk_X509_push(certstack, cert), 0)) in test_encrypt_decrypt()
45 if (!TEST_true(CMS_decrypt(content, privkey, cert, NULL, outmsgbio, in test_encrypt_decrypt()
51 NULL, privkey, cert, NULL, in test_encrypt_decrypt()
97 && TEST_ptr(CMS_add1_signer(cms, cert, privkey, NULL, 0)) in test_CMS_add1_cert()
98 && TEST_true(CMS_add1_cert(cms, cert)); /* add cert again */ in test_CMS_add1_cert()
408 if (!TEST_true(PEM_read_bio_X509(certbio, &cert, NULL, NULL))) { in setup_tests()
416 X509_free(cert); in setup_tests()
417 cert = NULL; in setup_tests()
422 X509_free(cert); in setup_tests()
423 cert = NULL; in setup_tests()
440 X509_free(cert); in cleanup_tests()