Lines Matching refs:reason_code
2789 int reason_code = -1;
2797 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str);
2805 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS))
2808 if (!rtmp || !ASN1_ENUMERATED_set(rtmp, reason_code))
2825 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)
2892 int reason_code = -1;
2931 reason_code = i;
2935 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS)
2941 if (reason_code == 7)
2942 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL;
2943 else if (reason_code == 8) /* Hold instruction */
2950 reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD;
2960 else if ((reason_code == 9) || (reason_code == 10))
2973 if (reason_code == 9)
2974 reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE;
2976 reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE;
2980 if (preason) *preason = reason_code;