use crl_reason_t definition from <credentials/certificates/crl.h>
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 31 Aug 2009 20:58:34 +0000 (22:58 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 31 Aug 2009 20:58:34 +0000 (22:58 +0200)
src/pluto/constants.c
src/pluto/constants.h

index e46728d..d9cf07e 100644 (file)
@@ -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,
index 5fe936e..dc8d5de 100644 (file)
@@ -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;