Lines Matching refs:rev
138 X509_REVOKED *rev = sk_X509_REVOKED_value(revoked, i);
142 gtmp = X509_REVOKED_get_ext_d2i(rev,
163 rev->issuer = gens;
165 reason = X509_REVOKED_get_ext_d2i(rev, NID_crl_reason,
175 rev->reason = ASN1_ENUMERATED_get(reason);
179 rev->reason = CRL_REASON_NONE;
183 exts = rev->extensions;
371 int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev)
377 if(!inf->revoked || !sk_X509_REVOKED_push(inf->revoked, rev)) {
416 X509_REVOKED *rev)
420 if (!rev->issuer)
432 for (i = 0; i < sk_GENERAL_NAME_num(rev->issuer); i++)
434 GENERAL_NAME *gen = sk_GENERAL_NAME_value(rev->issuer, i);
447 X509_REVOKED rtmp, *rev;
465 rev = sk_X509_REVOKED_value(crl->crl->revoked, idx);
466 if (ASN1_INTEGER_cmp(rev->serialNumber, serial))
468 if (crl_revoked_issuer_match(crl, issuer, rev))
471 *ret = rev;
472 if (rev->reason == CRL_REASON_REMOVE_FROM_CRL)