aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-08-06 06:06:40 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-08-06 06:06:40 +0200
commitfd8ad4198d9c9961d54fac0f58eb550a8a5f1565 (patch)
tree61aa96ea706a740f0e8fe641cd684ef753bc6bdd /src
parentf32e56bbcec155eaec5ef54c51f233fab854d88b (diff)
downloadstrongswan-fd8ad4198d9c9961d54fac0f58eb550a8a5f1565.tar.bz2
strongswan-fd8ad4198d9c9961d54fac0f58eb550a8a5f1565.tar.xz
added TTLS to EAP short names, too
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/credentials/auth_cfg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/auth_cfg.c b/src/libstrongswan/credentials/auth_cfg.c
index 0c1aba1c4..9b3078f06 100644
--- a/src/libstrongswan/credentials/auth_cfg.c
+++ b/src/libstrongswan/credentials/auth_cfg.c
@@ -63,7 +63,9 @@ ENUM_NEXT(eap_type_short_names, EAP_TLS, EAP_TLS, EAP_GTC,
"TLS");
ENUM_NEXT(eap_type_short_names, EAP_SIM, EAP_SIM, EAP_TLS,
"SIM");
-ENUM_NEXT(eap_type_short_names, EAP_AKA, EAP_AKA, EAP_SIM,
+ENUM_NEXT(eap_type_short_names, EAP_TTLS, EAP_TTLS, EAP_SIM,
+ "TTLS");
+ENUM_NEXT(eap_type_short_names, EAP_AKA, EAP_AKA, EAP_TTLS,
"AKA");
ENUM_NEXT(eap_type_short_names, EAP_MSCHAPV2, EAP_MSCHAPV2, EAP_AKA,
"MSCHAPV2");