summaryrefslogtreecommitdiffstats
path: root/common/rfb/Security.cxx
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-04-23 14:01:22 +0000
committerAdam Tkac <atkac@redhat.com>2010-04-23 14:01:22 +0000
commit9c28a7b3b09eec9f7322222e18e5d1bbe917db60 (patch)
treeb7e9857c63bb052e3014ec6fd8ad1a0a08466f87 /common/rfb/Security.cxx
parent94d88c1799d6446c132a2ac7198601487d792099 (diff)
downloadtigervnc-9c28a7b3b09eec9f7322222e18e5d1bbe917db60.tar.gz
tigervnc-9c28a7b3b09eec9f7322222e18e5d1bbe917db60.zip
Remove unneeded secTypeEncrypts() function.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4035 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/Security.cxx')
-rw-r--r--common/rfb/Security.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index 67acf5c9..1021b075 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -48,17 +48,6 @@ const char* rfb::secTypeName(rdr::U8 num)
}
}
-bool rfb::secTypeEncrypts(rdr::U8 num)
-{
- switch (num) {
- case secTypeRA2:
- case secTypeSSPI:
- return true;
- default:
- return false;
- }
-}
-
std::list<rdr::U8> rfb::parseSecTypes(const char* types_)
{
std::list<rdr::U8> result;