Lines Matching defs:cert_ctx
976 X509_STORE *cert_ctx = NULL;
981 cert_ctx = X509_STORE_new();
982 if (cert_ctx == NULL) {
986 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
988 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
1000 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1013 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_store());
1025 X509_STORE_set1_param(cert_ctx, vpm);
1027 return cert_ctx;
1030 X509_STORE_free(cert_ctx);