Lines Matching refs:cert
183 X509 *cert = load_cert_from_file(filename); /* may result in NULL */
188 ret = TEST_int_eq(X509_self_signed(cert, 1), expected);
190 if (cert != NULL) {
192 ret = ret && TEST_true(sk_X509_push(trusted, cert));
193 ret = ret && TEST_true(X509_STORE_CTX_init(ctx, NULL, cert, NULL));
200 X509_free(cert);
221 /* Verifying a cert where we have no trusted certs should fail */
310 || !TEST_ptr(sroot_cert = test_mk_file_path(certs_dir, "sroot-cert.pem"))
311 || !TEST_ptr(ca_cert = test_mk_file_path(certs_dir, "ca-cert.pem"))
312 || !TEST_ptr(ee_cert = test_mk_file_path(certs_dir, "ee-cert.pem")))