diff --git a/lib/TLS_UI/src/StdAfx.h b/lib/TLS_UI/src/StdAfx.h index a9aeb1c..6bbb55b 100644 --- a/lib/TLS_UI/src/StdAfx.h +++ b/lib/TLS_UI/src/StdAfx.h @@ -23,8 +23,6 @@ // Prevent warnings from wxWidgets headers #define _CRT_SECURE_NO_WARNINGS -#include "../../../include/Version.h" - #include "../include/TLS_UI.h" #include diff --git a/lib/TTLS/src/Module.cpp b/lib/TTLS/src/Module.cpp index 5173da0..50e89f2 100644 --- a/lib/TTLS/src/Module.cpp +++ b/lib/TTLS/src/Module.cpp @@ -202,7 +202,7 @@ eap::method* eap::peer_ttls::make_method(_In_ config_method_tls &cfg, _In_ crede meth_inner.reset( new method_eapmsg(*this, new method_eap (*this, eap_type_t::gtc, *cred_inner, - new method_gtc (*this, dynamic_cast(*cfg_inner), dynamic_cast(*cred_inner))))); + new method_gtc (*this, dynamic_cast(*cfg_inner), *cred_inner)))); break; #if EAP_INNER_EAPHOST diff --git a/lib/TTLS_UI/include/Module.h b/lib/TTLS_UI/include/Module.h index 44e21ac..c292b63 100644 --- a/lib/TTLS_UI/include/Module.h +++ b/lib/TTLS_UI/include/Module.h @@ -28,6 +28,7 @@ namespace eap #include "../../TTLS/include/Config.h" #include "../../TTLS/include/Credentials.h" #include "../../EAPBase_UI/include/Module.h" +#include "../../EAPBase_UI/include/wxEAP_UIBase.h" namespace eap