Lines Matching refs:cert_ctx
88 X509_STORE *cert_ctx = NULL;
96 cert_ctx = X509_STORE_new();
97 if (cert_ctx == NULL)
99 X509_STORE_set_verify_cb(cert_ctx, cb);
168 X509_STORE_set1_param(cert_ctx, vpm);
170 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
183 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
221 store_setup_crl_download(cert_ctx);
223 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls, e))
227 if (1 != check(cert_ctx, argv[i], untrusted, trusted, crls, e))
252 if (cert_ctx != NULL)
253 X509_STORE_free(cert_ctx);