1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 19:09:01 +00:00

Avoid extra check for EC crypto, use OpenSSL-defined macros

This commit is contained in:
dmiller
2022-08-31 13:43:38 +00:00
parent 48eef5213f
commit aa1f5b42f7
4 changed files with 2 additions and 11 deletions

View File

@@ -409,12 +409,6 @@ if test "$use_openssl" = "yes"; then
[ -lcrypto ])
fi
if test "$use_openssl" = "yes"; then
AC_CHECK_LIB(crypto, EVP_PKEY_get1_EC_KEY,
[AC_DEFINE(HAVE_OPENSSL_EC, 1, [Have EVP_PKEY_get1_EC_KEY])],
[AC_MSG_WARN([Disabling support for EC crypto])])
fi
OPENSSL_LIBS=
if test "$use_openssl" = "yes"; then
trace_use="$trace_use openssl"