Lines Matching refs:reason_code
2790 int reason_code = -1;
2798 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str);
2806 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS))
2809 if (!rtmp || !ASN1_ENUMERATED_set(rtmp, reason_code))
2826 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)
2884 int reason_code = -1;
2923 reason_code = i;
2927 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS)
2933 if (reason_code == 7)
2934 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL;
2935 else if (reason_code == 8) /* Hold instruction */
2942 reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD;
2952 else if ((reason_code == 9) || (reason_code == 10))
2965 if (reason_code == 9)
2966 reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE;
2968 reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE;
2972 if (preason) *preason = reason_code;