config_method_with_cred renamed to config_connection to describe it better

This commit is contained in:
2016-08-24 11:38:58 +02:00
parent 1cb6ca5adb
commit d1c24efcf0
12 changed files with 44 additions and 44 deletions

View File

@@ -74,7 +74,7 @@ void eap::peer_ttls::get_identity(
assert(ppwszIdentity);
// Unpack configuration.
config_provider_list cfg(*this);
config_connection cfg(*this);
unpack(cfg, pConnectionData, dwConnectionDataSize);
if (cfg.m_providers.empty() || cfg.m_providers.front().m_methods.empty())
throw invalid_argument(__FUNCTION__ " Configuration has no providers and/or methods.");