Credentials are no longer stored using method name (TLS/PAP/MSCHAPv2) but with level/type identifier
This commit is contained in:
@@ -28,9 +28,9 @@ using namespace winstd;
|
||||
// eap::config_method_pap
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
eap::config_method_pap::config_method_pap(_In_ module &mod) : config_method_with_cred(mod)
|
||||
eap::config_method_pap::config_method_pap(_In_ module &mod, _In_ unsigned int level) : config_method_with_cred(mod, level)
|
||||
{
|
||||
m_preshared.reset(new credentials_pap(mod));
|
||||
m_preshared.reset(new credentials_pass(mod));
|
||||
}
|
||||
|
||||
|
||||
@@ -84,5 +84,5 @@ const wchar_t* eap::config_method_pap::get_method_str() const
|
||||
|
||||
eap::credentials* eap::config_method_pap::make_credentials() const
|
||||
{
|
||||
return new credentials_pap(m_module);
|
||||
return new credentials_pass(m_module);
|
||||
}
|
||||
|
Reference in New Issue
Block a user