mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Check for EVP_PKEY_EC before using it. It isn't present in the
MacOSX10.4u SDK.
This commit is contained in:
parent
e0c2754e29
commit
f3a8bb7d7a
1 changed files with 2 additions and 0 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue