Missing 'else' in gen_key
This commit is contained in:
parent
6a28e722c9
commit
247b487d61
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue