summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-07 15:31:03 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-07 15:31:03 +0000
commit48597baedc5f4cd8dd7ca633d7a08ddb5c343c62 (patch)
tree801b46748ad92cb9b2ffd456254b4cbb3dba5ba5
parentserialisation & makefile fix (diff)
ssl comments
-rw-r--r--syncSocket.cpp10
-rw-r--r--syncSocket.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/syncSocket.cpp b/syncSocket.cpp
index 36c02b5..066e5e6 100644
--- a/syncSocket.cpp
+++ b/syncSocket.cpp
@@ -35,3 +35,13 @@ void SyncSocket::OnAccept()
Send("\n");
}
+//void StatusSocket::InitSSLServer()
+//{
+// InitializeContext("server.pem", "keypwd", SSLv23_method());
+//}
+//
+//
+//void StatusSocket::Init()
+//{
+// EnableSSL();
+//}
diff --git a/syncSocket.h b/syncSocket.h
index 25cc11a..77b8824 100644
--- a/syncSocket.h
+++ b/syncSocket.h
@@ -17,7 +17,9 @@ public:
bool OnConnectRetry();
void OnReconnect();
+// void Init();
+// void InitSSLServer();
//private:
// ResumeSocket2& operator=(const ResumeSocket2& ) { return *this; } // assignment operator
};