1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 05:39:01 +00:00

Include -lcrypto when checking for -lssl. Fails on OpenBSD 5.5 w/1.0.1c

This commit is contained in:
dmiller
2016-01-13 20:53:37 +00:00
parent e5767c245f
commit a2c3b2f03a
2 changed files with 3 additions and 2 deletions

2
ncat/configure vendored
View File

@@ -4690,7 +4690,7 @@ if ${ac_cv_lib_ssl_SSL_new+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lssl $LIBS"
LIBS="-lssl -lcrypto $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

View File

@@ -97,7 +97,8 @@ if test "$use_openssl" = "yes" -a -z "$specialssldir" ; then
[ use_openssl="yes"],
[ use_openssl="no"
AC_MSG_WARN([Failed to find libssl so OpenSSL will not be used.
If it is installed you can try the --with-openssl=DIR argument]) ])
If it is installed you can try the --with-openssl=DIR argument]) ],
[ -lcrypto ])
fi
fi