commit | 247b487d6183a64baa4263b23d8833346509679e | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Feb 06 14:33:52 2014 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Feb 06 14:33:52 2014 +0100 |
tree | d0807557d5bd5a52f352fa3f1d4519b5e4808002 | |
parent | 6a28e722c94a6c539c64a078f042feedc71559bf [diff] |
Missing 'else' in gen_key
diff --git a/programs/pkey/gen_key.c b/programs/pkey/gen_key.c index e7dab24..2a33257 100644 --- a/programs/pkey/gen_key.c +++ b/programs/pkey/gen_key.c
@@ -170,7 +170,7 @@ { if( strcmp( q, "rsa" ) == 0 ) opt.type = POLARSSL_PK_RSA; - if( strcmp( q, "ec" ) == 0 ) + else if( strcmp( q, "ec" ) == 0 ) opt.type = POLARSSL_PK_ECKEY; else goto usage;