Lines Matching refs:cert_ctx
461 X509_STORE *cert_ctx = NULL; local
467 cert_ctx = X509_STORE_new();
468 if (cert_ctx == NULL)
472 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_local);
474 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_remote);
494 X509_STORE_add_cert(cert_ctx, info->x509);
497 X509_STORE_add_crl(cert_ctx, info->crl);
503 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
510 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
531 X509_STORE_CTX_init(csc, cert_ctx, x509, NULL);
548 if (cert_ctx != NULL)
549 X509_STORE_free(cert_ctx);