Remove unneeded secTypeEncrypts() function.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4035 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index 67acf5c..1021b07 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -48,17 +48,6 @@
   }
 }
 
-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;
diff --git a/common/rfb/Security.h b/common/rfb/Security.h
index d890d56..9ccfb56 100644
--- a/common/rfb/Security.h
+++ b/common/rfb/Security.h
@@ -48,7 +48,6 @@
 
   const char* secTypeName(rdr::U8 num);
   rdr::U8 secTypeNum(const char* name);
-  bool secTypeEncrypts(rdr::U8 num);
   std::list<rdr::U8> parseSecTypes(const char* types);
 }