Lines Matching defs:reason_code
2699 int reason_code = -1;
2707 i = unpack_revinfo(&revDate, &reason_code, &hold, &comp_time, str);
2715 if (rev && (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)) {
2717 if (!rtmp || !ASN1_ENUMERATED_set(rtmp, reason_code))
2734 if (reason_code != OCSP_REVOKED_STATUS_NOSTATUS)
2795 int reason_code = -1;
2836 reason_code = i;
2840 if (reason_code == OCSP_REVOKED_STATUS_NOSTATUS) {
2845 if (reason_code == 7)
2846 reason_code = OCSP_REVOKED_STATUS_REMOVEFROMCRL;
2847 else if (reason_code == 8) { /* Hold instruction */
2852 reason_code = OCSP_REVOKED_STATUS_CERTIFICATEHOLD;
2862 } else if ((reason_code == 9) || (reason_code == 10)) {
2876 if (reason_code == 9)
2877 reason_code = OCSP_REVOKED_STATUS_KEYCOMPROMISE;
2879 reason_code = OCSP_REVOKED_STATUS_CACOMPROMISE;
2884 *preason = reason_code;