summaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/CSecurityPlain.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/rfb/CSecurityPlain.java')
-rw-r--r--java/com/tigervnc/rfb/CSecurityPlain.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/rfb/CSecurityPlain.java b/java/com/tigervnc/rfb/CSecurityPlain.java
index 98f6b8cc..ef7a10ee 100644
--- a/java/com/tigervnc/rfb/CSecurityPlain.java
+++ b/java/com/tigervnc/rfb/CSecurityPlain.java
@@ -34,7 +34,7 @@ public class CSecurityPlain extends CSecurity {
StringBuffer username = new StringBuffer();
StringBuffer password = new StringBuffer();
- upg.getUserPasswd(username, password);
+ upg.getUserPasswd(cc.isSecure(), username, password);
// Return the response to the server
os.writeU32(username.length());