Lines Matching refs:error_depth

226 	ctx->error_depth = 0;  in x509_verify_ctx_reset()
329 ctx->xsc->error_depth = 0; in x509_verify_ctx_set_xsc_chain()
333 ctx->xsc->error_depth = i; in x509_verify_ctx_set_xsc_chain()
357 ctx->saved_error_depth = ctx->xsc->error_depth; in x509_verify_ctx_save_xsc_error()
377 ctx->xsc->error_depth = ctx->saved_error_depth; in x509_verify_ctx_restore_xsc_error()
403 ctx->xsc->error_depth = 0; in x509_verify_ctx_validate_legacy_chain()
440 &ctx->xsc->error, &ctx->xsc->error_depth)) { in x509_verify_ctx_validate_legacy_chain()
443 ctx->xsc->error_depth, ctx->xsc->error, 0)) in x509_verify_ctx_validate_legacy_chain()
461 if (ctx->xsc->error_depth < 0 || in x509_verify_ctx_validate_legacy_chain()
462 ctx->xsc->error_depth >= X509_VERIFY_MAX_CHAIN_CERTS) in x509_verify_ctx_validate_legacy_chain()
464 chain->cert_errors[ctx->xsc->error_depth] = in x509_verify_ctx_validate_legacy_chain()
466 ctx->error_depth = ctx->xsc->error_depth; in x509_verify_ctx_validate_legacy_chain()
502 if (ctx->error_depth == 0 && in x509_verify_ctx_add_chain()
523 ctx->error_depth = depth; in x509_verify_ctx_add_chain()
643 ctx->error_depth = depth; in x509_verify_cert_error()
646 ctx->xsc->error_depth = depth; in x509_verify_cert_error()
680 ctx->error_depth = depth; in x509_verify_build_chains()
685 ctx->error_depth = ctx->saved_error_depth; in x509_verify_build_chains()
746 ctx->xsc->error_depth = depth; in x509_verify_build_chains()
749 } else if (ctx->error_depth == depth) { in x509_verify_build_chains()
1093 return ctx->error_depth; in x509_verify_ctx_error_depth()
1146 ctx->xsc->error_depth = 0; in x509_verify()
1189 ctx->xsc->error_depth = ctx->error_depth; in x509_verify()