aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki/commands/gen.c')
-rw-r--r--src/pki/commands/gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki/commands/gen.c b/src/pki/commands/gen.c
index b2769da54..0a6571153 100644
--- a/src/pki/commands/gen.c
+++ b/src/pki/commands/gen.c
@@ -20,7 +20,7 @@
*/
static int gen()
{
- key_encoding_type_t form = KEY_PRIV_ASN1_DER;
+ cred_encoding_type_t form = PRIVKEY_ASN1_DER;
key_type_t type = KEY_RSA;
u_int size = 0;
private_key_t *key;