pki: Actually make the default key type KEY_ANY for --self
Fixes: 05ccde0a8b ("pki: Add generic 'priv' key type that loads any
type of private key")
This commit is contained in:
@@ -50,7 +50,7 @@ static void destroy_policy_mapping(x509_policy_mapping_t *mapping)
|
||||
static int self()
|
||||
{
|
||||
cred_encoding_type_t form = CERT_ASN1_DER;
|
||||
key_type_t type = KEY_RSA;
|
||||
key_type_t type = KEY_ANY;
|
||||
hash_algorithm_t digest = HASH_UNKNOWN;
|
||||
certificate_t *cert = NULL;
|
||||
private_key_t *private = NULL;
|
||||
|
||||
Reference in New Issue
Block a user