diff --git a/src/lib/net/TCPSocket.h b/src/lib/net/TCPSocket.h index 181e7f30..df2cc970 100644 --- a/src/lib/net/TCPSocket.h +++ b/src/lib/net/TCPSocket.h @@ -74,10 +74,6 @@ protected: ArchSocket getSocket() { return m_socket; } IEventQueue* getEvents() { return m_events; } - virtual bool isSecureReady() { return false; } - virtual bool isSecure() { return false; } - virtual int secureRead(void* buffer, int, int& ) { return 0; } - virtual int secureWrite(const void*, int, int& ) { return 0; } virtual EJobResult doRead(); virtual EJobResult doWrite(); diff --git a/src/lib/plugin/ns/SecureSocket.h b/src/lib/plugin/ns/SecureSocket.h index 732ad399..3c2ed55d 100644 --- a/src/lib/plugin/ns/SecureSocket.h +++ b/src/lib/plugin/ns/SecureSocket.h @@ -50,11 +50,9 @@ public: void secureAccept(); EJobResult doRead(); EJobResult doWrite(); - bool isReady() const { return m_secureReady; } bool isFatal() const { return m_fatal; } void isFatal(bool b) { m_fatal = b; } bool isSecureReady(); - bool isSecure() { return true; } int secureRead(void* buffer, int size, int& read); int secureWrite(const void* buffer, int size, int& wrote); void initSsl(bool server);