diff options
author | Adam Tkac <atkac@redhat.com> | 2010-04-23 14:07:41 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-04-23 14:07:41 +0000 |
commit | a6578bfc986695bf9e5d4272b6d2e57516aa4cbf (patch) | |
tree | ff36c03b224765b677ca1c13d670c41d5b47e2c4 /common/rfb/VNCServerST.cxx | |
parent | 1d15e2d60a171a43c83e51a1343727701ac34f4b (diff) | |
download | tigervnc-a6578bfc986695bf9e5d4272b6d2e57516aa4cbf.tar.gz tigervnc-a6578bfc986695bf9e5d4272b6d2e57516aa4cbf.zip |
[Development] Replace SSecurityFactoryStandard class by simplier Security class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4039 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCServerST.cxx')
-rw-r--r-- | common/rfb/VNCServerST.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx index a21526ad..1685b33c 100644 --- a/common/rfb/VNCServerST.cxx +++ b/common/rfb/VNCServerST.cxx @@ -53,7 +53,7 @@ #include <rfb/VNCServerST.h> #include <rfb/VNCSConnectionST.h> #include <rfb/ComparingUpdateTracker.h> -#include <rfb/SSecurityFactoryStandard.h> +#include <rfb/Security.h> #include <rfb/KeyRemapper.h> #include <rfb/util.h> @@ -63,7 +63,6 @@ using namespace rfb; static LogWriter slog("VNCServerST"); LogWriter VNCServerST::connectionsLog("Connections"); -static SSecurityFactoryStandard defaultSecurityFactory; // // -=- VNCServerST Implementation @@ -71,12 +70,10 @@ static SSecurityFactoryStandard defaultSecurityFactory; // -=- Constructors/Destructor -VNCServerST::VNCServerST(const char* name_, SDesktop* desktop_, - SSecurityFactory* sf) +VNCServerST::VNCServerST(const char* name_, SDesktop* desktop_) : blHosts(&blacklist), desktop(desktop_), desktopStarted(false), pb(0), name(strDup(name_)), pointerClient(0), comparer(0), renderedCursorInvalid(false), - securityFactory(sf ? sf : &defaultSecurityFactory), queryConnectionHandler(0), keyRemapper(&KeyRemapper::defInstance), useEconomicTranslate(false), lastConnectionTime(0), disableclients(false) |