Moved auth_rule_names back to auth_cfg.c
authorMartin Willi <martin@revosec.ch>
Thu, 4 Aug 2011 08:27:05 +0000 (10:27 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 22 Aug 2011 16:42:32 +0000 (18:42 +0200)
src/libstrongswan/credentials/auth_cfg.c
src/libstrongswan/eap/eap.c

index 23a3f62..157ccfb 100644 (file)
@@ -30,6 +30,24 @@ ENUM(auth_class_names, AUTH_CLASS_ANY, AUTH_CLASS_EAP,
        "EAP",
 );
 
+ENUM(auth_rule_names, AUTH_RULE_IDENTITY, AUTH_HELPER_SUBJECT_HASH_URL,
+       "RULE_IDENTITY",
+       "RULE_AUTH_CLASS",
+       "RULE_EAP_IDENTITY",
+       "RULE_EAP_TYPE",
+       "RULE_EAP_VENDOR",
+       "RULE_CA_CERT",
+       "RULE_IM_CERT",
+       "RULE_SUBJECT_CERT",
+       "RULE_CRL_VALIDATION",
+       "RULE_OCSP_VALIDATION",
+       "RULE_GROUP",
+       "HELPER_IM_CERT",
+       "HELPER_SUBJECT_CERT",
+       "HELPER_IM_HASH_URL",
+       "HELPER_SUBJECT_HASH_URL",
+);
+
 typedef struct private_auth_cfg_t private_auth_cfg_t;
 
 /**
index 11b475d..efd3ee9 100644 (file)
@@ -87,24 +87,6 @@ ENUM_NEXT(eap_type_short_names, EAP_DYNAMIC, EAP_EXPERIMENTAL, EAP_TNC,
        "XP");
 ENUM_END(eap_type_short_names, EAP_EXPERIMENTAL);
 
-ENUM(auth_rule_names, AUTH_RULE_IDENTITY, AUTH_HELPER_SUBJECT_HASH_URL,
-       "RULE_IDENTITY",
-       "RULE_AUTH_CLASS",
-       "RULE_EAP_IDENTITY",
-       "RULE_EAP_TYPE",
-       "RULE_EAP_VENDOR",
-       "RULE_CA_CERT",
-       "RULE_IM_CERT",
-       "RULE_SUBJECT_CERT",
-       "RULE_CRL_VALIDATION",
-       "RULE_OCSP_VALIDATION",
-       "RULE_GROUP",
-       "HELPER_IM_CERT",
-       "HELPER_SUBJECT_CERT",
-       "HELPER_IM_HASH_URL",
-       "HELPER_SUBJECT_HASH_URL",
-);
-
 /*
  * See header
  */