Lines Matching refs:reason_code
2438 int reason_code = -1; in make_revoked() local
2446 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str); in make_revoked()
2454 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)) { in make_revoked()
2456 if (rtmp == NULL || !ASN1_ENUMERATED_set(rtmp, reason_code)) in make_revoked()
2473 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS) in make_revoked()
2535 int reason_code = -1; in unpack_revinfo() local
2576 reason_code = i; in unpack_revinfo()
2580 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS) { in unpack_revinfo()
2585 if (reason_code == 7) { in unpack_revinfo()
2586 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL; in unpack_revinfo()
2587 } else if (reason_code == 8) { /* Hold instruction */ in unpack_revinfo()
2592 reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD; in unpack_revinfo()
2603 } else if ((reason_code == 9) || (reason_code == 10)) { in unpack_revinfo()
2617 if (reason_code == 9) in unpack_revinfo()
2618 reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE; in unpack_revinfo()
2620 reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE; in unpack_revinfo()
2625 *preason = reason_code; in unpack_revinfo()