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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user