Lines Matching refs:cert_ctx
973 X509_STORE *cert_ctx = NULL;
978 cert_ctx = X509_STORE_new();
979 if (cert_ctx == NULL) {
983 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
985 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
997 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1010 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_store());
1022 X509_STORE_set1_param(cert_ctx, vpm);
1024 return cert_ctx;
1027 X509_STORE_free(cert_ctx);