From a4df4f7bbf2e129355fe7853bd7ae6659c591e75 Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 19 Sep 2018 15:36:24 +0200 Subject: [PATCH] Do not prompt if blank password was provided --- libfreerdp/core/nla.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libfreerdp/core/nla.c b/libfreerdp/core/nla.c index 434b28748..530be18b5 100644 --- a/libfreerdp/core/nla.c +++ b/libfreerdp/core/nla.c @@ -190,8 +190,7 @@ static int nla_client_init(rdpNla* nla) settings->DisableCredentialsDelegation = TRUE; if ((!settings->Username) || (!strlen(settings->Username)) - || (((!settings->Password) || (!strlen(settings->Password))) - && (!settings->RedirectionPassword))) + || ((!settings->Password) && (!settings->RedirectionPassword))) { PromptPassword = TRUE; }