Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2020-02-05 11:43:56 +01:00
parent 5b02352f1a
commit 33e765adcd
3 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,6 @@
// Prevent warnings from wxWidgets headers
#define _CRT_SECURE_NO_WARNINGS
#include "../../../include/Version.h"
#include "../include/TLS_UI.h"
#include <wxex/valnet.h>

View File

@ -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<config_method_eapgtc&>(*cfg_inner), dynamic_cast<credentials&>(*cred_inner)))));
new method_gtc (*this, dynamic_cast<config_method_eapgtc&>(*cfg_inner), *cred_inner))));
break;
#if EAP_INNER_EAPHOST

View File

@ -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