From e84db6535eb624f5b4c81eefa1703267acf16cc2 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 2 Dec 2014 14:17:06 +0100 Subject: Use new API for getVncAuthPasswd() --- win/vncconfig/Authentication.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3