#include <rfb/LogWriter.h>
using namespace rfb;
-using namespace rdr;
-using namespace std;
static LogWriter vlog("CVeNCrypt");
bool CSecurityVeNCrypt::processMsg()
{
- InStream* is = cc->getInStream();
- OutStream* os = cc->getOutStream();
+ rdr::InStream* is = cc->getInStream();
+ rdr::OutStream* os = cc->getOutStream();
/* get major, minor versions, send what we can support (or 0.0 for can't support it) */
if (!haveRecvdMajorVersion) {
if (!haveChosenType) {
chosenType = secTypeInvalid;
uint8_t i;
- list<uint32_t> secTypes;
+ std::list<uint32_t> secTypes;
secTypes = security->GetEnabledExtSecTypes();
#include <rfb/PixelBuffer.h>
using namespace rfb;
-using namespace rdr;
static LogWriter vlog("PixelBuffer");
#include <rdr/OutStream.h>
using namespace rfb;
-using namespace rdr;
-using namespace std;
static LogWriter vlog("SVeNCrypt");
* followed by authentication types (uint32_t:s)
*/
if (!haveSentTypes) {
- list<uint32_t> listSubTypes;
+ std::list<uint32_t> listSubTypes;
listSubTypes = security->GetEnabledExtSecTypes();
#include <rfb/util.h>
using namespace rfb;
-using namespace std;
static LogWriter vlog("Security");
const std::list<uint8_t> Security::GetEnabledSecTypes(void)
{
- list<uint8_t> result;
+ std::list<uint8_t> result;
/* Partial workaround for Vino's stupid behaviour. It doesn't allow
* the basic authentication types as part of the VeNCrypt handshake,
const std::list<uint32_t> Security::GetEnabledExtSecTypes(void)
{
- list<uint32_t> result;
+ std::list<uint32_t> result;
for (uint32_t type : enabledSecTypes)
if (type != secTypeVeNCrypt) /* Do not include VeNCrypt type to avoid loops */
#include <rfb/CSecurityVeNCrypt.h>
#include <rfb/CSecurityVncAuth.h>
#include <rfb/CSecurityPlain.h>
-#include <rdr/Exception.h>
+#include <rfb/Exception.h>
#include <rfb/Security.h>
#ifdef HAVE_GNUTLS
#include <rfb/CSecurityTLS.h>
#include <rfb/CSecurityMSLogonII.h>
#endif
-using namespace rdr;
using namespace rfb;
UserPasswdGetter *CSecurity::upg = nullptr;
#include <config.h>
#endif
-#include <rdr/Exception.h>
+#include <rfb/Exception.h>
#include <rfb/Security.h>
#include <rfb/SSecurityNone.h>
#include <rfb/SSecurityStack.h>
#include <rfb/SSecurityRSAAES.h>
#endif
-using namespace rdr;
using namespace rfb;
StringParameter SecurityServer::secTypes