Lines Matching refs:reason_code
2452 int reason_code = -1;
2460 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str);
2468 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)) {
2470 if (rtmp == NULL || !ASN1_ENUMERATED_set(rtmp, reason_code))
2487 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)
2549 int reason_code = -1;
2590 reason_code = i;
2594 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS) {
2599 if (reason_code == 7) {
2600 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL;
2601 } else if (reason_code == 8) { /* Hold instruction */
2606 reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD;
2617 } else if ((reason_code == 9) || (reason_code == 10)) {
2631 if (reason_code == 9)
2632 reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE;
2634 reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE;
2639 *preason = reason_code;