From faa030385c460fedf52b8ae895b5f3a0b605edd3 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Mon, 15 Jul 2013 18:20:16 +0100 Subject: [PATCH] Removing extra SSL_shutdown() call. --- mongoose.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index 0abee9a5..4814612e 100644 --- a/mongoose.c +++ b/mongoose.c @@ -4864,7 +4864,6 @@ static void close_connection(struct mg_connection *conn) { if (conn->ssl != NULL) { // Run SSL_shutdown twice to ensure completly close SSL connection SSL_shutdown(conn->ssl); - SSL_shutdown(conn->ssl); SSL_free(conn->ssl); conn->ssl = NULL; }