Nmap Development mailing list archives

Bugfix: report correct library versions


From: Lukas Schwaighofer <lukas () schwaighofer name>
Date: Fri, 8 Sep 2017 19:27:17 +0200

Hi,

I noticed that for the libssh2 and zlib libraries, nmap always reports
the versions specified in libssh2/libssh2v.h and libz/libzv.h
respectively, even when nmap is linked against the system-wide versions
of libssh2/zlib.

I've written a small patch to address this by using the version number
provided by the libraries themselves.  After applying the patch the
libssh2/libssh2v.h and libz/libzv.h files can be dropped.

Regards
Lukas

Attachment: ibrary-versions.patch
Description:

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: