Lines Matching refs:reason_code
2394 int reason_code = -1; in make_revoked() local
2402 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str); in make_revoked()
2410 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)) { in make_revoked()
2412 if (rtmp == NULL || !ASN1_ENUMERATED_set(rtmp, reason_code)) in make_revoked()
2429 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS) in make_revoked()
2491 int reason_code = -1; in unpack_revinfo() local
2532 reason_code = i; in unpack_revinfo()
2536 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS) { in unpack_revinfo()
2541 if (reason_code == 7) { in unpack_revinfo()
2542 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL; in unpack_revinfo()
2543 } else if (reason_code == 8) { /* Hold instruction */ in unpack_revinfo()
2548 reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD; in unpack_revinfo()
2559 } else if ((reason_code == 9) || (reason_code == 10)) { in unpack_revinfo()
2573 if (reason_code == 9) in unpack_revinfo()
2574 reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE; in unpack_revinfo()
2576 reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE; in unpack_revinfo()
2581 *preason = reason_code; in unpack_revinfo()