You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
typedef enum X509_CRLReason {
X509_cr_unspecified = 0,
X509_cr_key_compromise,
X509_cr_ca_compromise,
X509_cr_affiliation_changed,
X509_cr_superseded,
X509_cr_cessation_of_operation,
X509_cr_certificate_hold,
X509_cr_7_not_assigned = 7,
X509_cr_remove_from_crl,
X509_cr_privilege_withdrawn,
X509_cr_aa_compromise,
} CRL_REASON;
const char *crl_reason_text(int reason)
{
switch (reason) {
case X509_cr_unspecified: return "unspecified";
case X509_cr_key_compromise: return "keyCompromise";
case X509_cr_ca_compromise: return "cACompromise";
case X509_cr_affiliation_changed: return "affiliationChanged";
case X509_cr_superseded: return "superseded";
case X509_cr_cessation_of_operation: return "cessationOfOperation";
case X509_cr_certificate_hold: return "certificateHold";
case X509_cr_remove_from_crl: return "removeFromCRL";
case X509_cr_privilege_withdrawn: return "privilegeWithdrawn";
case X509_cr_aa_compromise: return "aACompromise";
}
return NULL;
}
The text was updated successfully, but these errors were encountered: