tls: removed repeated SSL_shutdown call
@@ -387,7 +387,6 @@ static int tls_session_destroy(void *session)
if (flb_socket_error(ptr->fd) == 0) {
SSL_shutdown(ptr->ssl);
- SSL_shutdown(ptr->ssl);
}
SSL_free(ptr->ssl);
flb_free(ptr);
