mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Get libssh2 version at runtime
This commit is contained in:
parent
693a2606b6
commit
e24c7746b1
1 changed files with 2 additions and 2 deletions
4
nmap.cc
4
nmap.cc
|
|
@ -2833,9 +2833,9 @@ static void display_nmap_version() {
|
|||
|
||||
#if HAVE_LIBSSH2
|
||||
#ifdef LIBSSH2_INCLUDED
|
||||
with.push_back(std::string("nmap-libssh2-") + get_word_or_quote(LIBSSH2_VERSION, 0));
|
||||
with.push_back(std::string("nmap-libssh2-") + libssh2_version(0));
|
||||
#else
|
||||
with.push_back(std::string("libssh2-") + get_word_or_quote(LIBSSH2_VERSION, 0));
|
||||
with.push_back(std::string("libssh2-") + libssh2_version(0));
|
||||
#endif
|
||||
#else
|
||||
without.push_back("libssh2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue