projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59ae00b
)
Do not prompt if blank password was provided
author
Tobias
<tobias@wallura.org>
Wed, 19 Sep 2018 13:36:24 +0000
(15:36 +0200)
committer
GitHub
<noreply@github.com>
Wed, 19 Sep 2018 13:36:24 +0000
(15:36 +0200)
libfreerdp/core/nla.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/nla.c
b/libfreerdp/core/nla.c
index
434b287
..
530be18
100644
(file)
--- 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;
}