Lines Matching refs:crl_score

75 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
1158 int i, crl_score, best_score = *pscore; in get_crl_sk() local
1167 crl_score = get_crl_score(ctx, &crl_issuer, &reasons, crl, x); in get_crl_sk()
1168 if (crl_score < best_score || crl_score == 0) in get_crl_sk()
1171 if (crl_score == best_score && best_crl != NULL) { in get_crl_sk()
1186 best_score = crl_score; in get_crl_sk()
1302 int crl_score = 0; in get_crl_score() local
1327 crl_score |= CRL_SCORE_ISSUER_NAME; in get_crl_score()
1331 crl_score |= CRL_SCORE_NOCRITICAL; in get_crl_score()
1335 crl_score |= CRL_SCORE_TIME; in get_crl_score()
1338 crl_akid_check(ctx, crl, pissuer, &crl_score); in get_crl_score()
1341 if ((crl_score & CRL_SCORE_AKID) == 0) in get_crl_score()
1345 if (crl_crldp_check(x, crl, crl_score, &crl_reasons)) { in get_crl_score()
1350 crl_score |= CRL_SCORE_SCOPE; in get_crl_score()
1355 return crl_score; in get_crl_score()
1528 static int crldp_check_crlissuer(DIST_POINT *dp, X509_CRL *crl, int crl_score) in crldp_check_crlissuer() argument
1535 return (crl_score & CRL_SCORE_ISSUER_NAME) != 0; in crldp_check_crlissuer()
1548 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, in crl_crldp_check() argument
1566 if (crldp_check_crlissuer(dp, crl, crl_score)) { in crl_crldp_check()
1575 && (crl_score & CRL_SCORE_ISSUER_NAME) != 0; in crl_crldp_check()
1587 int crl_score = 0; in get_crl_delta() local
1595 &issuer, &crl_score, &reasons, ctx->crls); in get_crl_delta()
1606 get_crl_sk(ctx, &crl, &dcrl, &issuer, &crl_score, &reasons, skcrl); in get_crl_delta()
1614 ctx->current_crl_score = crl_score; in get_crl_delta()