Missing credentials are correctly honoured now
This commit is contained in:
parent
b4667cac18
commit
955d7f5dc1
@ -361,10 +361,10 @@ DWORD WINAPI EapPeerInvokeIdentityUI(
|
|||||||
else {
|
else {
|
||||||
eap::config_providers cfg(g_peer);
|
eap::config_providers cfg(g_peer);
|
||||||
_EAPMETHOD_PEER_UI::credentials_type cred(g_peer);
|
_EAPMETHOD_PEER_UI::credentials_type cred(g_peer);
|
||||||
if (!g_peer.unpack(cfg, pConnectionData, dwConnectionDataSize, ppEapError) ||
|
if ( !g_peer.unpack(cfg, pConnectionData, dwConnectionDataSize, ppEapError) ||
|
||||||
!g_peer.unpack(cred, pUserData, dwUserDataSize, ppEapError) ||
|
dwUserDataSize && !g_peer.unpack(cred, pUserData, dwUserDataSize, ppEapError) ||
|
||||||
!g_peer.invoke_identity_ui(hwndParent, dwFlags, cfg, cred, ppwszIdentity, ppEapError) ||
|
!g_peer.invoke_identity_ui(hwndParent, dwFlags, cfg, cred, ppwszIdentity, ppEapError) ||
|
||||||
!g_peer.pack(cred, ppUserDataOut, pdwUserDataOutSize, ppEapError))
|
!g_peer.pack(cred, ppUserDataOut, pdwUserDataOutSize, ppEapError))
|
||||||
{
|
{
|
||||||
if (*ppEapError) {
|
if (*ppEapError) {
|
||||||
g_peer.log_error(*ppEapError);
|
g_peer.log_error(*ppEapError);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user