summaryrefslogtreecommitdiff
path: root/src/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Socket.h')
-rw-r--r--src/Socket.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Socket.h b/src/Socket.h
index 45f2d298..a4624801 100644
--- a/src/Socket.h
+++ b/src/Socket.h
@@ -76,10 +76,11 @@ public:
// this socket.
void peekData(char* data, int& len, int timeout = 5);
-#ifdef HAVE_LIBSSL
- // for SSL
+ /**
+ * Makes this socket secure.
+ * If the system has not OpenSSL, then this method do nothing.
+ */
void initiateSecureConnection();
-#endif // HAVE_LIBSSL
};
#endif // _D_SOCKET_H_