use crl_reason_t definition from <credentials/certificates/crl.h>
This commit is contained in:
parent
6180a55852
commit
a63f62c03b
|
@ -61,20 +61,6 @@ enum_names version_names =
|
|||
ISAKMP_MAJOR_VERSION<<ISA_MAJ_SHIFT | ISAKMP_MINOR_VERSION,
|
||||
version_name, NULL };
|
||||
|
||||
/* RFC 2459 CRL reason codes */
|
||||
|
||||
ENUM(crl_reason_names, REASON_UNSPECIFIED, REASON_REMOVE_FROM_CRL,
|
||||
"unspecified",
|
||||
"key compromise",
|
||||
"ca compromise",
|
||||
"affiliation changed",
|
||||
"superseded",
|
||||
"cessation of operation",
|
||||
"certificate hold",
|
||||
"reason #7",
|
||||
"remove from crl"
|
||||
);
|
||||
|
||||
/* RFC 3706 Dead Peer Detection */
|
||||
|
||||
ENUM(dpd_action_names, DPD_ACTION_NONE, DPD_ACTION_RESTART,
|
||||
|
|
|
@ -225,21 +225,6 @@ typedef enum {
|
|||
CERT_UNDEFINED = 3
|
||||
} cert_status_t;
|
||||
|
||||
/* RFC 2459 CRL reason codes */
|
||||
|
||||
extern enum_name_t *crl_reason_names;
|
||||
|
||||
typedef enum {
|
||||
REASON_UNSPECIFIED = 0,
|
||||
REASON_KEY_COMPROMISE = 1,
|
||||
REASON_CA_COMPROMISE = 2,
|
||||
REASON_AFFILIATION_CHANGED = 3,
|
||||
REASON_SUPERSEDED = 4,
|
||||
REASON_CESSATION_OF_OPERATON = 5,
|
||||
REASON_CERTIFICATE_HOLD = 6,
|
||||
REASON_REMOVE_FROM_CRL = 8
|
||||
} crl_reason_t;
|
||||
|
||||
/* RFC 3706 Dead Peer Detection */
|
||||
|
||||
extern enum_name_t *dpd_action_names;
|
||||
|
|
Loading…
Reference in New Issue