Lines Matching refs:ctx
922 struct v3_ext_ctx *ctx,
1189 if (ctx != NULL) { \
1190 ctx->error = _err_; \
1191 ctx->error_depth = i; \
1192 ctx->current_cert = x; \
1193 rv = ctx->verify_cb(0, ctx); \
1206 * When returning 0, ctx->error MUST be set to an appropriate value other than
1209 static int addr_validate_path_internal(X509_STORE_CTX *ctx,
1218 || !ossl_assert(ctx != NULL || ext != NULL)
1219 || !ossl_assert(ctx == NULL || ctx->verify_cb != NULL)) {
1220 if (ctx != NULL)
1221 ctx->error = X509_V_ERR_UNSPECIFIED;
1244 if (ctx != NULL)
1245 ctx->error = X509_V_ERR_OUT_OF_MEM;
1330 int X509v3_addr_validate_path(X509_STORE_CTX *ctx)
1332 if (ctx->chain == NULL
1333 || sk_X509_num(ctx->chain) == 0
1334 || ctx->verify_cb == NULL) {
1335 ctx->error = X509_V_ERR_UNSPECIFIED;
1338 return addr_validate_path_internal(ctx, ctx->chain, NULL);