mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Enable EC crypto for NSE on Windows
This commit is contained in:
@@ -72,6 +72,7 @@
|
||||
#define NMAP_PLATFORM "i686-pc-windows-windows"
|
||||
|
||||
#define HAVE_OPENSSL 1
|
||||
#define HAVE_OPENSSL_EC 1
|
||||
#define HAVE_SSL_SET_TLSEXT_HOST_NAME 1
|
||||
#define HAVE_LIBSSH2 1
|
||||
#define HAVE_LIBZ 1
|
||||
|
||||
@@ -429,7 +429,7 @@ static const char *pkey_type_to_string(int type)
|
||||
return "dsa";
|
||||
case EVP_PKEY_DH:
|
||||
return "dh";
|
||||
#ifdef HAVE_OPENSSL_EC
|
||||
#ifdef EVP_PKEY_EC
|
||||
case EVP_PKEY_EC:
|
||||
return "ec";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user