Home
last modified time | relevance | path

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

/third_party/openssl/crypto/x509/
Dx509_vfy.c75 static int check_trust(X509_STORE_CTX *ctx, int num_untrusted);
293 ctx->num_untrusted = 1; in X509_verify_cert()
426 if (depth >= ctx->num_untrusted && purpose == ctx->param->purpose) in check_purpose()
777 static int check_trust(X509_STORE_CTX *ctx, int num_untrusted) in check_trust() argument
790 if (DANETLS_HAS_TA(dane) && num_untrusted > 0 && num_untrusted < num) { in check_trust()
791 switch (trust = check_dane_issuer(ctx, num_untrusted)) { in check_trust()
804 for (i = num_untrusted; i < num; i++) { in check_trust()
818 if (num_untrusted < num) { in check_trust()
824 if (num_untrusted == num && ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) { in check_trust()
848 ctx->num_untrusted = 0; in check_trust()
[all …]
/third_party/openssl/apps/
Dverify.c213 int num_untrusted; in check() local
245 num_untrusted = X509_STORE_CTX_get_num_untrusted(csc); in check()
253 if (j < num_untrusted) in check()
/third_party/openssl/include/crypto/
Dx509.h233 int num_untrusted; member