summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2015-04-28 18:20:22 +0200
committerSimon Rettberg2015-04-28 18:20:22 +0200
commite63f16b8f9446812f9b932b40037d9802add40f1 (patch)
tree21304e75053e99a102173a2ac7739ed5e2c54a9a
parentFix SSL mode :) (diff)
downloadldadp-e63f16b8f9446812f9b932b40037d9802add40f1.tar.gz
ldadp-e63f16b8f9446812f9b932b40037d9802add40f1.tar.xz
ldadp-e63f16b8f9446812f9b932b40037d9802add40f1.zip
Fix the fix of the fix of SSL
-rw-r--r--server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.c b/server.c
index 24090f9..91164bb 100644
--- a/server.c
+++ b/server.c
@@ -534,6 +534,7 @@ static int server_connectInternal(server_t *server)
static BOOL server_connectSsl(epoll_server_t *server)
{
if (server->serverData->sslContext == NULL) return TRUE;
+ server->sslConnected = FALSE;
server->ssl = ssl_new(server->fd, server->serverData->sslContext);
if (server->ssl == NULL) {
printf("Could not get SSL client from context\n");