Lines Matching refs:rev
163 X509_REVOKED *rev = sk_X509_REVOKED_value(revoked, i); variable
167 gtmp = X509_REVOKED_get_ext_d2i(rev,
184 rev->issuer = gens;
186 reason = X509_REVOKED_get_ext_d2i(rev, NID_crl_reason, &j, NULL);
193 rev->reason = ASN1_ENUMERATED_get(reason);
196 rev->reason = CRL_REASON_NONE;
200 exts = rev->extensions;
378 int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev) in X509_CRL_add0_revoked() argument
384 if (!inf->revoked || !sk_X509_REVOKED_push(inf->revoked, rev)) { in X509_CRL_add0_revoked()
423 X509_REVOKED *rev) in crl_revoked_issuer_match() argument
427 if (!rev->issuer) { in crl_revoked_issuer_match()
438 for (i = 0; i < sk_GENERAL_NAME_num(rev->issuer); i++) { in crl_revoked_issuer_match()
439 GENERAL_NAME *gen = sk_GENERAL_NAME_value(rev->issuer, i); in crl_revoked_issuer_match()
455 X509_REVOKED rtmp, *rev; in def_crl_lookup() local
479 rev = sk_X509_REVOKED_value(crl->crl->revoked, idx); in def_crl_lookup()
480 if (ASN1_INTEGER_cmp(rev->serialNumber, serial)) in def_crl_lookup()
482 if (crl_revoked_issuer_match(crl, issuer, rev)) { in def_crl_lookup()
484 *ret = rev; in def_crl_lookup()
485 if (rev->reason == CRL_REASON_REMOVE_FROM_CRL) in def_crl_lookup()