Start SSL handshake once the connection has been established.

This commit is contained in:
Gunnar Beutner 2012-05-07 11:41:23 +02:00
parent c8a5343fe5
commit 3f1fb0e36d
2 changed files with 2 additions and 3 deletions

View File

@ -56,6 +56,8 @@ void TLSClient::Start(void)
SSL_set_accept_state(m_SSL.get());
else
SSL_set_connect_state(m_SSL.get());
SSL_do_handshake(m_SSL.get());
}
int TLSClient::ReadableEventHandler(const EventArgs& ea)

View File

@ -16,9 +16,6 @@
"rpclistener": {
"kekslistener": { "replicate": "0", "port": "7777" }
},
"rpcconnection": {
"foo": { "replicate": "0", "hostname": "10.0.10.3", "port": "7777" }
},
"host": {
"localhost": { "ipaddr": "127.0.0.1" }
}