diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-03-24 10:10:13 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-03-24 10:45:58 +0100 |
commit | 3207193cbf67a262978bb077aab30c35f4a65cfb (patch) | |
tree | 616e53079c464f6663f4c7607c51a046800251ea /src | |
parent | 3610d7607e2193d8b088bcba4362f58297dbca0f (diff) | |
download | strongswan-3207193cbf67a262978bb077aab30c35f4a65cfb.tar.bz2 strongswan-3207193cbf67a262978bb077aab30c35f4a65cfb.tar.xz |
pki: Actually make the default key type KEY_ANY for --self
Fixes: 05ccde0a8bd9 ("pki: Add generic 'priv' key type that loads any
type of private key")
Diffstat (limited to 'src')
-rw-r--r-- | src/pki/commands/self.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki/commands/self.c b/src/pki/commands/self.c index 1df1800bb..bdb22463e 100644 --- a/src/pki/commands/self.c +++ b/src/pki/commands/self.c @@ -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; |