[Development] Add more debug logging into {C,S}SecurityVeNCrypt.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4100 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/SSecurityVeNCrypt.cxx b/common/rfb/SSecurityVeNCrypt.cxx
index b8f9b57..b136599 100644
--- a/common/rfb/SSecurityVeNCrypt.cxx
+++ b/common/rfb/SSecurityVeNCrypt.cxx
@@ -178,6 +178,8 @@
if (!haveChosenType)
chosenType = secTypeInvalid;
+ vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType),
+ chosenType);
/* Set up the stack according to the chosen type */
switch(chosenType) {
case secTypeTLSNone: