mirror of
https://github.com/nmap/nmap.git
synced 2026-10-09 05:44:36 +00:00
Don't do SSL setup if it's not requested. Missing braces.
This commit is contained in:
parent
1323cad17b
commit
b70ee4f531
1 changed files with 2 additions and 0 deletions
|
|
@ -264,9 +264,11 @@ static int ncat_listen_stream(int proto)
|
|||
|
||||
#ifdef HAVE_OPENSSL
|
||||
if (o.ssl)
|
||||
{
|
||||
if (o.sslalpn)
|
||||
bye("ALPN is not supported in listen mode\n");
|
||||
setup_ssl_listen();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Not sure if this problem exists on Windows, but fcntl and /dev/null don't */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue