1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Missing 'else' in gen_key

This commit is contained in:
Paul Bakker
2014-02-06 14:33:52 +01:00
parent 6a28e722c9
commit 247b487d61

View File

@@ -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;