Lines Matching refs:matched
2827 int matched = 0; in dane_match_cert() local
2874 for (i = 0; matched == 0 && i < recnum; ++i) { in dane_match_cert()
2924 matched = -1; in dane_match_cert()
2938 matched = 1; in dane_match_cert()
2939 if (matched || dane->mdpth < 0) { in dane_match_cert()
2952 return matched; in dane_match_cert()
2959 int matched = 0; in check_dane_issuer() local
2971 if (cert != NULL && (matched = dane_match_cert(ctx, cert, depth)) < 0) in check_dane_issuer()
2972 return matched; in check_dane_issuer()
2973 if (matched > 0) { in check_dane_issuer()
3035 int matched = 0; in dane_match_rpk() local
3058 matched = -1; in dane_match_rpk()
3064 matched = 1; in dane_match_rpk()
3071 return matched; in dane_match_rpk()
3097 int matched; in dane_verify_rpk() local
3107 matched = dane_match_rpk(ctx, ctx->rpk); in dane_verify_rpk()
3110 if (matched < 0) { in dane_verify_rpk()
3115 if (matched > 0) in dane_verify_rpk()
3128 int matched; in dane_verify() local
3145 matched = dane_match_cert(ctx, ctx->cert, 0); in dane_verify()
3146 done = matched != 0 || (!DANETLS_HAS_TA(dane) && dane->mdpth < 0); in dane_verify()
3151 if (matched > 0) { in dane_verify()
3165 if (matched < 0) { in dane_verify()