diff options
-rw-r--r-- | common/rfb/Security.cxx | 11 | ||||
-rw-r--r-- | common/rfb/Security.h | 1 |
2 files changed, 0 insertions, 12 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; diff --git a/common/rfb/Security.h b/common/rfb/Security.h index d890d560..9ccfb56b 100644 --- a/common/rfb/Security.h +++ b/common/rfb/Security.h @@ -48,7 +48,6 @@ namespace rfb { 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); } |