summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-12-02 14:17:06 +0100
committerPierre Ossman <ossman@cendio.se>2014-12-02 14:17:06 +0100
commite84db6535eb624f5b4c81eefa1703267acf16cc2 (patch)
tree21f53e4f1d8d09298ab77566c7f94234a831ce50 /win
parent4e7a54c4a7774dbdaa2d86bfa7d5c3235b82dfa3 (diff)
downloadtigervnc-e84db6535eb624f5b4c81eefa1703267acf16cc2.tar.gz
tigervnc-e84db6535eb624f5b4c81eefa1703267acf16cc2.zip
Use new API for getVncAuthPasswd()
Diffstat (limited to 'win')
-rw-r--r--win/vncconfig/Authentication.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/vncconfig/Authentication.h b/win/vncconfig/Authentication.h
index 534646c5..c2aba91e 100644
--- a/win/vncconfig/Authentication.h
+++ b/win/vncconfig/Authentication.h
@@ -92,7 +92,8 @@ namespace rfb {
static bool haveVncPassword() {
- PlainPasswd password(SSecurityVncAuth::vncAuthPasswd.getVncAuthPasswd());
+ PlainPasswd password, passwordReadOnly;
+ SSecurityVncAuth::vncAuthPasswd.getVncAuthPasswd(&password, &passwordReadOnly);
return password.buf && strlen(password.buf) != 0;
}