Lines Matching defs:reason
83 REV_CRL_REASON = 1, /* Value is CRL reason code */
236 {"crl_reason", OPT_CRL_REASON, 's', "revocation reason"},
238 "the hold instruction, an OID. Sets revocation reason to certificateHold"},
240 "sets compromise time to val and the revocation reason to keyCompromise"},
242 "sets compromise time to val and the revocation reason to CACompromise"},
2353 /* CRL reason strings */
2372 * string is: revtime[,reason,extra]. Where 'revtime' is the revocation time
2373 * (the current time). 'reason' is the optional CRL reason and 'extra' is any
2380 const char *reason = NULL, *other = NULL;
2393 reason = crl_reasons[i];
2397 if (reason == NULL) {
2398 BIO_printf(bio_err, "Unknown CRL reason %s\n", rev_arg);
2413 reason = "holdInstruction";
2428 reason = "keyTime";
2430 reason = "CAkeyTime";
2442 if (reason)
2443 i += strlen(reason) + 1;
2447 str = app_malloc(i, "revocation reason");
2449 if (reason) {
2451 OPENSSL_strlcat(str, reason, i);
2615 BIO_printf(bio_err, "invalid reason code %s\n", reason_str);