mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
OpenSSL 1.1 for EVP_PKEY
This commit is contained in:
parent
3562ac1438
commit
6377631ae7
4 changed files with 16 additions and 8 deletions
|
@ -40,7 +40,7 @@ namespace data
|
|||
if (family) family[0] = 0;
|
||||
}
|
||||
auto pkey = X509_get_pubkey (cert);
|
||||
int keyType = EVP_PKEY_type(pkey->type);
|
||||
int keyType = EVP_PKEY_base_id (pkey);
|
||||
switch (keyType)
|
||||
{
|
||||
case EVP_PKEY_DSA:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue