From 7629f3b9979e19a07d0c8207213beecb9042dca4 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 21 Aug 2018 19:12:36 +0000 Subject: [PATCH] Fix a typo in a previous fix --- ncat/ncat_exec_win.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ncat/ncat_exec_win.c b/ncat/ncat_exec_win.c index b905eeeca..099d67175 100644 --- a/ncat/ncat_exec_win.c +++ b/ncat/ncat_exec_win.c @@ -569,9 +569,9 @@ static DWORD WINAPI subprocess_thread_func(void *data) loop_end: #ifdef HAVE_OPENSSL - if (o.ssl && fdn->ssl) { - SSL_shutdown(fdn->ssl); - SSL_free(fdn->ssl); + if (o.ssl && info->fdn.ssl) { + SSL_shutdown(info->fdn.ssl); + SSL_free(info->fdn.ssl); } #endif