Some final adjustments to EapHost inner method code before I put it to rest because of RasMan MSCHAPv2 heap corruption :(

This commit is contained in:
2016-11-03 10:11:31 +01:00
parent 60aa513375
commit b87e30bc9d
3 changed files with 33 additions and 15 deletions

View File

@@ -343,6 +343,8 @@ void eap::peer_ttls_ui::invoke_identity_ui(
cred_inner->m_identity = identity.get();
cred_inner->m_cred_blob.assign(cred_data.get(), cred_data.get() + cred_data_size);
SecureZeroMemory(cred_data.get(), cred_data_size);
// TODO: If we ever choose to store EapHost credentials to Windows Credential Manager, add a "Save credentials? Yes/No" prompt here and write them to Credential Manager.
} else if (dwResult == ERROR_CANCELLED) {
// Not really an error.
result = wxID_CANCEL;