Lines Matching refs:matched
2860 int matched = 0; in dane_match_cert() local
2907 for (i = 0; matched == 0 && i < recnum; ++i) { in dane_match_cert()
2957 matched = -1; in dane_match_cert()
2971 matched = 1; in dane_match_cert()
2972 if (matched || dane->mdpth < 0) { in dane_match_cert()
2985 return matched; in dane_match_cert()
2992 int matched = 0; in check_dane_issuer() local
3004 if (cert != NULL && (matched = dane_match_cert(ctx, cert, depth)) < 0) in check_dane_issuer()
3005 return matched; in check_dane_issuer()
3006 if (matched > 0) { in check_dane_issuer()
3068 int matched = 0; in dane_match_rpk() local
3091 matched = -1; in dane_match_rpk()
3097 matched = 1; in dane_match_rpk()
3104 return matched; in dane_match_rpk()
3130 int matched; in dane_verify_rpk() local
3140 matched = dane_match_rpk(ctx, ctx->rpk); in dane_verify_rpk()
3143 if (matched < 0) { in dane_verify_rpk()
3148 if (matched > 0) in dane_verify_rpk()
3161 int matched; in dane_verify() local
3178 matched = dane_match_cert(ctx, ctx->cert, 0); in dane_verify()
3179 done = matched != 0 || (!DANETLS_HAS_TA(dane) && dane->mdpth < 0); in dane_verify()
3184 if (matched > 0) { in dane_verify()
3198 if (matched < 0) { in dane_verify()