Преглед на файлове

Always log chosen security type

It's often useful to see if encryption was used, and how the user
authenticated (if at all).
tags/v1.3.90
Pierre Ossman преди 9 години
родител
ревизия
71d6666398
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1
    1
      common/rfb/CConnection.cxx
  2. 1
    1
      common/rfb/CSecurityVeNCrypt.cxx
  3. 1
    1
      common/rfb/SSecurityVeNCrypt.cxx

+ 1
- 1
common/rfb/CConnection.cxx Целия файл

@@ -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);
}
}


+ 1
- 1
common/rfb/CSecurityVeNCrypt.cxx Целия файл

@@ -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: */

+ 1
- 1
common/rfb/SSecurityVeNCrypt.cxx Целия файл

@@ -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 */

Loading…
Отказ
Запис