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