]> source.dussan.org Git - tigervnc.git/commitdiff
Always log chosen security type
authorPierre Ossman <ossman@cendio.se>
Tue, 11 Nov 2014 12:42:51 +0000 (13:42 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 11 Nov 2014 12:42:51 +0000 (13:42 +0100)
It's often useful to see if encryption was used, and how the user
authenticated (if at all).

common/rfb/CConnection.cxx
common/rfb/CSecurityVeNCrypt.cxx
common/rfb/SSecurityVeNCrypt.cxx

index 1695c3a60971ac5abe618a8fa71eec6675701d80..e0a23b5a741ba3901c48c9c0a4244f0432ea1d47 100644 (file)
@@ -181,7 +181,7 @@ void CConnection::processSecurityTypesMsg()
     if (secType != secTypeInvalid) {
       os->writeU8(secType);
       os->flush();
-      vlog.debug("Choosing security type %s(%d)",secTypeName(secType),secType);
+      vlog.info("Choosing security type %s(%d)",secTypeName(secType),secType);
     }
   }
 
index 77eeef9a8feb363d7528cefc18749a00d3d9570c..a15da4a6d7d77c4472bc902dc41207cfb403f19a 100644 (file)
@@ -164,7 +164,7 @@ bool CSecurityVeNCrypt::processMsg(CConnection* cc)
          break;
       }
 
-      vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType),
+      vlog.info("Choosing security type %s (%d)", secTypeName(chosenType),
                 chosenType);
 
       /* Set up the stack according to the chosen type: */
index 9e4260f46e9843ca4446efedc9eae07f567366fd..39647f6e6753212d37581a7a9551ce6c397cbb63 100644 (file)
@@ -157,7 +157,7 @@ bool SSecurityVeNCrypt::processMsg(SConnection* sc)
     if (!haveChosenType)
       chosenType = secTypeInvalid;
 
-    vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType),
+    vlog.info("Client requests security type %s (%d)", secTypeName(chosenType),
               chosenType);
 
     /* Set up the stack according to the chosen type */