summaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/CSecurityVeNCrypt.java
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2017-11-30 21:14:25 -0500
committerBrian P. Hinz <bphinz@users.sf.net>2017-11-30 21:18:29 -0500
commit9a9f9f0ec170253f43cbf78a33a6b18f148e6259 (patch)
treeb47d113d92e98e943f220a9847d80de98d662e18 /java/com/tigervnc/rfb/CSecurityVeNCrypt.java
parente7aea19a1444f4099959058dc72056fe13fd67fb (diff)
downloadtigervnc-9a9f9f0ec170253f43cbf78a33a6b18f148e6259.tar.gz
tigervnc-9a9f9f0ec170253f43cbf78a33a6b18f148e6259.zip
Move UserPasswordGetter out of CConn
Diffstat (limited to 'java/com/tigervnc/rfb/CSecurityVeNCrypt.java')
-rw-r--r--java/com/tigervnc/rfb/CSecurityVeNCrypt.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/java/com/tigervnc/rfb/CSecurityVeNCrypt.java b/java/com/tigervnc/rfb/CSecurityVeNCrypt.java
index 179900a4..daf205cd 100644
--- a/java/com/tigervnc/rfb/CSecurityVeNCrypt.java
+++ b/java/com/tigervnc/rfb/CSecurityVeNCrypt.java
@@ -178,7 +178,13 @@ public class CSecurityVeNCrypt extends CSecurity {
}
public final int getType() { return chosenType; }
- public final String description() { return Security.secTypeName(chosenType); }
+ public final String description()
+ {
+ if (csecurity != null)
+ return csecurity.description();
+ return "VeNCrypt";
+ }
+
public static StringParameter secTypesStr;