Commit 247b487d authored by Paul Bakker's avatar Paul Bakker
Browse files

Missing 'else' in gen_key

parent 6a28e722
......@@ -170,7 +170,7 @@ int main( int argc, char *argv[] )
{
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment