Redundant eap::credentials_eaphost::get_identity() removed

This commit is contained in:
Simon Rozman 2016-10-25 13:34:21 +02:00
parent aa18aed868
commit 04af17121c
2 changed files with 0 additions and 18 deletions

View File

@ -177,11 +177,6 @@ namespace eap
/// @}
///
/// Returns credential identity.
///
virtual std::wstring get_identity() const;
///
/// Combine credentials in the following order:
///

View File

@ -231,19 +231,6 @@ LPCTSTR eap::credentials_eaphost::target_suffix() const
}
std::wstring eap::credentials_eaphost::get_identity() const
{
if (!m_identity.empty()) {
return m_identity;
} else if (!m_cred_blob.empty()) {
// TODO: Use EapHostPeerGetIdentity() to obtain user identity.
assert(0);
}
return L"";
}
eap::credentials::source_t eap::credentials_eaphost::combine(
_In_ DWORD dwFlags,
_In_ HANDLE hTokenImpersonateUser,