mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Avoid shutting down SSL descriptor twice. Fixes #1365
This commit is contained in:
@@ -572,6 +572,8 @@ loop_end:
|
|||||||
if (o.ssl && info->fdn.ssl) {
|
if (o.ssl && info->fdn.ssl) {
|
||||||
SSL_shutdown(info->fdn.ssl);
|
SSL_shutdown(info->fdn.ssl);
|
||||||
SSL_free(info->fdn.ssl);
|
SSL_free(info->fdn.ssl);
|
||||||
|
/* avoid shutting down and freeing this again in subprocess_info_close */
|
||||||
|
info->fdn.ssl = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user