summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/SslPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/SslPlugin.cpp')
-rw-r--r--cpp/src/qpid/sys/SslPlugin.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/cpp/src/qpid/sys/SslPlugin.cpp b/cpp/src/qpid/sys/SslPlugin.cpp
index 069e97758e..5520320ef2 100644
--- a/cpp/src/qpid/sys/SslPlugin.cpp
+++ b/cpp/src/qpid/sys/SslPlugin.cpp
@@ -86,7 +86,6 @@ class SslProtocolFactoryTmpl : public ProtocolFactory {
boost::function2<void, int, std::string> failed);
uint16_t getPort() const;
- bool supports(const std::string& capability);
private:
void established(Poller::shared_ptr, const Socket&, ConnectionCodec::Factory*,
@@ -270,25 +269,4 @@ void SslProtocolFactoryTmpl<T>::connect(
failed);
}
-namespace
-{
-const std::string SSL = "ssl";
-}
-
-template <>
-bool SslProtocolFactory::supports(const std::string& capability)
-{
- std::string s = capability;
- transform(s.begin(), s.end(), s.begin(), tolower);
- return s == SSL;
-}
-
-template <>
-bool SslMuxProtocolFactory::supports(const std::string& capability)
-{
- std::string s = capability;
- transform(s.begin(), s.end(), s.begin(), tolower);
- return s == SSL || s == "tcp";
-}
-
}} // namespace qpid::sys