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 /win/vncconfig | |
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 'win/vncconfig')
-rw-r--r-- | win/vncconfig/Authentication.h | 4 | ||||
-rw-r--r-- | win/vncconfig/vncconfig.cxx | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/win/vncconfig/Authentication.h b/win/vncconfig/Authentication.h index a59990b9..cae97190 100644 --- a/win/vncconfig/Authentication.h +++ b/win/vncconfig/Authentication.h @@ -40,7 +40,7 @@ namespace rfb { AuthenticationPage(const RegKey& rk) : PropSheetPage(GetModuleHandle(0), MAKEINTRESOURCE(IDD_AUTHENTICATION)), regKey(rk) {} void initDialog() { - CharArray sec_types_str(SSecurityFactoryStandard::sec_types.getData()); + CharArray sec_types_str(Security::secTypes.getData()); std::list<rdr::U8> sec_types = parseSecTypes(sec_types_str.buf); useNone = useVNC = false; @@ -114,7 +114,7 @@ namespace rfb { static bool haveVncPassword() { - PlainPasswd password(SSecurityFactoryStandard::vncAuthPasswd.getVncAuthPasswd()); + PlainPasswd password(SSecurityVncAuth::vncAuthPasswd.getVncAuthPasswd()); return password.buf && strlen(password.buf) != 0; } diff --git a/win/vncconfig/vncconfig.cxx b/win/vncconfig/vncconfig.cxx index f5b1631f..afbe365c 100644 --- a/win/vncconfig/vncconfig.cxx +++ b/win/vncconfig/vncconfig.cxx @@ -26,7 +26,6 @@ #include "resource.h" #include <rfb/Logger_stdio.h> #include <rfb/LogWriter.h> -#include <rfb/SSecurityFactoryStandard.h> #include <rfb_win32/Dialog.h> #include <rfb_win32/RegConfig.h> #include <rfb_win32/CurrentUser.h> |