1
0
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:
dmiller
2022-08-15 16:23:37 +00:00
parent 2f6be3a30b
commit eed7b890c2
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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