added EAP_TTLS method
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 5 Aug 2010 19:01:39 +0000 (21:01 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 5 Aug 2010 19:01:39 +0000 (21:01 +0200)
src/libstrongswan/credentials/auth_cfg.c
src/libstrongswan/credentials/auth_cfg.h

index 1e08127..0c1aba1 100644 (file)
@@ -40,7 +40,9 @@ ENUM_NEXT(eap_type_names, EAP_TLS, EAP_TLS, EAP_GTC,
        "EAP_TLS");
 ENUM_NEXT(eap_type_names, EAP_SIM, EAP_SIM, EAP_TLS,
        "EAP_SIM");
-ENUM_NEXT(eap_type_names, EAP_AKA, EAP_AKA, EAP_SIM,
+ENUM_NEXT(eap_type_names, EAP_TTLS, EAP_TTLS, EAP_SIM,
+       "EAP_TTLS");
+ENUM_NEXT(eap_type_names, EAP_AKA, EAP_AKA, EAP_TTLS,
        "EAP_AKA");
 ENUM_NEXT(eap_type_names, EAP_MSCHAPV2, EAP_MSCHAPV2, EAP_AKA,
        "EAP_MSCHAPV2");
index 6c9a6b1..29c6634 100644 (file)
@@ -62,6 +62,7 @@ enum eap_type_t {
        EAP_GTC = 6,
        EAP_TLS = 13,
        EAP_SIM = 18,
+       EAP_TTLS = 21,
        EAP_AKA = 23,
        EAP_MSCHAPV2 = 26,
        /** not a method, but an implementation providing different methods */