diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-30 21:23:46 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-30 21:24:55 -0500 |
commit | 88a4541705c20c937db2d8a269c6a065070343ec (patch) | |
tree | fcf84083bf87014592049193251b723c09b65f0a /java/com/tigervnc/rfb/CSecurityVncAuth.java | |
parent | 9a9f9f0ec170253f43cbf78a33a6b18f148e6259 (diff) | |
download | tigervnc-88a4541705c20c937db2d8a269c6a065070343ec.tar.gz tigervnc-88a4541705c20c937db2d8a269c6a065070343ec.zip |
Display security state when asking for password (java)
Diffstat (limited to 'java/com/tigervnc/rfb/CSecurityVncAuth.java')
-rw-r--r-- | java/com/tigervnc/rfb/CSecurityVncAuth.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/rfb/CSecurityVncAuth.java b/java/com/tigervnc/rfb/CSecurityVncAuth.java index e8c5686d..06154953 100644 --- a/java/com/tigervnc/rfb/CSecurityVncAuth.java +++ b/java/com/tigervnc/rfb/CSecurityVncAuth.java @@ -36,7 +36,7 @@ public class CSecurityVncAuth extends CSecurity { byte[] challenge = new byte[vncAuthChallengeSize]; is.readBytes(challenge, 0, vncAuthChallengeSize); StringBuffer passwd = new StringBuffer(); - upg.getUserPasswd(null, passwd); + upg.getUserPasswd(cc.isSecure(), null, passwd); // Calculate the correct response byte[] key = new byte[8]; |