mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Clarify braces around ifdefs
This commit is contained in:
parent
51180ec958
commit
c23d0f8345
1 changed files with 3 additions and 2 deletions
|
|
@ -509,13 +509,14 @@ int main(int argc, char *argv[])
|
|||
} else if (strcmp(long_options[option_index].name, "ssl-servername") == 0) {
|
||||
o.ssl = 1;
|
||||
o.sslservername = Strdup(optarg);
|
||||
}
|
||||
#ifdef HAVE_ALPN_SUPPORT
|
||||
} else if (strcmp(long_options[option_index].name, "ssl-alpn") == 0) {
|
||||
else if (strcmp(long_options[option_index].name, "ssl-alpn") == 0) {
|
||||
o.ssl = 1;
|
||||
o.sslalpn = Strdup(optarg);
|
||||
}
|
||||
#else
|
||||
} else if (strcmp(long_options[option_index].name, "ssl-alpn") == 0) {
|
||||
else if (strcmp(long_options[option_index].name, "ssl-alpn") == 0) {
|
||||
bye("OpenSSL does not have ALPN support compiled in. The --ssl-alpn option cannot be chosen.");
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue