mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
libfreerdp-core: fix credssp check for Authenticate callback
This commit is contained in:
@@ -43,7 +43,6 @@ typedef struct rdp_freerdp_peer freerdp_peer;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void (*pContextSize)(freerdp* instance, uint32* size);
|
||||
typedef void (*pContextNew)(freerdp* instance, rdpContext* context);
|
||||
typedef void (*pContextFree)(freerdp* instance, rdpContext* context);
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ int credssp_ntlmssp_init(rdpCredssp* credssp)
|
||||
rdpSettings* settings = credssp->transport->settings;
|
||||
instance = (freerdp*) settings->instance;
|
||||
|
||||
if (settings->password == NULL || settings->username)
|
||||
if ((settings->password == NULL) || (settings->username == NULL))
|
||||
{
|
||||
if(instance->Authenticate)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user