Home
last modified time | relevance | path

Searched refs:num_untrusted (Results 1 – 3 of 3) sorted by relevance

/openbsd/lib/libcrypto/x509/
H A Dx509_vfy.c250 ctx->num_untrusted = 1; in X509_verify_cert_legacy_build_chain()
324 ctx->num_untrusted++; in X509_verify_cert_legacy_build_chain()
382 ctx->num_untrusted = 0; in X509_verify_cert_legacy_build_chain()
390 ctx->num_untrusted--; in X509_verify_cert_legacy_build_chain()
464 ctx->num_untrusted = sk_X509_num(ctx->chain); in X509_verify_cert_legacy_build_chain()
479 if (ctx->num_untrusted >= num) in X509_verify_cert_legacy_build_chain()
492 ctx->num_untrusted = num; in X509_verify_cert_legacy_build_chain()
735 for (i = 0; i < ctx->num_untrusted; i++) { in x509_vfy_check_chain_extensions()
893 if (ctx->num_untrusted < (int)sk_X509_num(ctx->chain)) in x509_vfy_check_trust()
900 ctx->num_untrusted = 0; in x509_vfy_check_trust()
[all …]
H A Dx509_verify.c297 size_t num_untrusted; in x509_verify_ctx_set_xsc_chain() local
309 num_untrusted = sk_X509_num(chain->certs); in x509_verify_ctx_set_xsc_chain()
310 if (is_trusted && num_untrusted > 0) in x509_verify_ctx_set_xsc_chain()
311 num_untrusted--; in x509_verify_ctx_set_xsc_chain()
312 ctx->xsc->num_untrusted = num_untrusted; in x509_verify_ctx_set_xsc_chain()
H A Dx509_local.h354 int num_untrusted; /* number of untrusted certs in chain */ member