Lines Matching refs:ctx
80 X509_STORE_CTX ctx;
106 init_res = X509_STORE_CTX_init(&ctx, st, signer, NULL);
108 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs);
115 X509_STORE_CTX_set_purpose(&ctx, X509_PURPOSE_OCSP_HELPER);
116 ret = X509_verify_cert(&ctx);
117 chain = X509_STORE_CTX_get1_chain(&ctx);
118 X509_STORE_CTX_cleanup(&ctx);
121 i = X509_STORE_CTX_get_error(&ctx);
363 X509_STORE_CTX ctx;
400 init_res = X509_STORE_CTX_init(&ctx, store, signer, NULL);
402 init_res = X509_STORE_CTX_init(&ctx, store, signer,
410 X509_STORE_CTX_set_purpose(&ctx, X509_PURPOSE_OCSP_HELPER);
411 X509_STORE_CTX_set_trust(&ctx, X509_TRUST_OCSP_REQUEST);
412 ret = X509_verify_cert(&ctx);
413 X509_STORE_CTX_cleanup(&ctx);
416 ret = X509_STORE_CTX_get_error(&ctx);