From 6b81ea51d3a50eb4fc9e75ccc4530fcb87ded128 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 2 Feb 2017 11:26:15 +0100 Subject: [PATCH] EapHost conditional compilation directive fixed --- lib/TTLS/src/Config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/TTLS/src/Config.cpp b/lib/TTLS/src/Config.cpp index 2003679..a6dc63b 100644 --- a/lib/TTLS/src/Config.cpp +++ b/lib/TTLS/src/Config.cpp @@ -271,8 +271,9 @@ eap::config_method* eap::config_method_ttls::make_config_method(_In_ winstd::eap case eap_type_gtc : return new config_method_eapgtc (m_module, m_level + 1); #ifdef EAP_INNER_EAPHOST default : return new config_method_eaphost (m_module, m_level + 1); // EapHost peer method handles all other method types -#endif +#else default : throw invalid_argument(string_printf(__FUNCTION__ " Unsupported inner authentication method (%d).", eap_type)); +#endif } }