Lines Matching refs:cert_ctx
87 X509_STORE *cert_ctx=NULL;
94 cert_ctx=X509_STORE_new();
95 if (cert_ctx == NULL) goto end;
96 X509_STORE_set_verify_cb_func(cert_ctx,cb);
169 X509_STORE_set1_param(cert_ctx, vpm);
171 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_file());
182 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_hash_dir());
211 if (argc < 1) check(cert_ctx, NULL, untrusted, trusted, purpose, e);
214 check(cert_ctx,argv[i], untrusted, trusted, purpose, e);
232 if (cert_ctx != NULL) X509_STORE_free(cert_ctx);