1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

Check for EVP_PKEY_EC before using it. It isn't present in the

MacOSX10.4u SDK.
This commit is contained in:
david
2011-01-05 06:07:19 +00:00
parent e0c2754e29
commit f3a8bb7d7a

View File

@@ -383,8 +383,10 @@ static const char *pkey_type_to_string(int type)
return "dsa";
case EVP_PKEY_DH:
return "dh";
#ifdef EVP_PKEY_EC
case EVP_PKEY_EC:
return "ec";
#endif
default:
return "unknown";
}