Lines Matching refs:cert_ctx
999 X509_STORE *cert_ctx = NULL;
1004 cert_ctx = X509_STORE_new();
1005 if (cert_ctx == NULL) {
1009 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
1011 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
1023 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1037 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_store());
1049 X509_STORE_set1_param(cert_ctx, vpm);
1051 return cert_ctx;
1054 X509_STORE_free(cert_ctx);