Redundant eap::credentials_eaphost::get_identity() removed
This commit is contained in:
parent
aa18aed868
commit
04af17121c
@ -177,11 +177,6 @@ namespace eap
|
||||
|
||||
/// @}
|
||||
|
||||
///
|
||||
/// Returns credential identity.
|
||||
///
|
||||
virtual std::wstring get_identity() const;
|
||||
|
||||
///
|
||||
/// Combine credentials in the following order:
|
||||
///
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user