mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
openssl: Support EdDSA keys in PKCS#12 containers
References strongswan/strongswan#2848
This commit is contained in:
parent
f02033664e
commit
0391450376
@ -119,6 +119,12 @@ static bool add_key(private_pkcs12_t *this, EVP_PKEY *private)
|
||||
case EVP_PKEY_EC:
|
||||
type = KEY_ECDSA;
|
||||
break;
|
||||
case EVP_PKEY_ED25519:
|
||||
type = KEY_ED25519;
|
||||
break;
|
||||
case EVP_PKEY_ED448:
|
||||
type = KEY_ED448;
|
||||
break;
|
||||
default:
|
||||
EVP_PKEY_free(private);
|
||||
return FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user