mirror of
https://github.com/nmap/nmap.git
synced 2026-01-18 20:29:02 +00:00
Clarify braces around ifdefs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user