summaryrefslogtreecommitdiff
path: root/src/SocketCore.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-17 19:04:22 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-17 19:04:22 +0000
commit8a70369dcf39adeb3fa6f3f4e0aaaa764ed6fc0d (patch)
tree2f081a4ab095afe84b454c95ded7a499171ef646 /src/SocketCore.h
parent2c732211f45b4caea3f569971905f176887b4a4a (diff)
Make Socket::initiateSecureConnection an empty method when HAVE_LIBSSL
is undefined
Diffstat (limited to 'src/SocketCore.h')
-rw-r--r--src/SocketCore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h
index f7a75b43..ba5fb7af 100644
--- a/src/SocketCore.h
+++ b/src/SocketCore.h
@@ -84,12 +84,11 @@ public:
// this socket.
void peekData(char* data, int& len, int timeout = 5);
-#ifdef HAVE_LIBSSL
/**
- * Makes this socket SSL endpoint
+ * Makes this socket secure.
+ * If the system has not OpenSSL, then this method do nothing.
*/
void initiateSecureConnection();
-#endif // HAVE_LIB_SSL
};
#endif // _D_SOCKET_CORE_H_