Add missing error message
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
64937856e0
commit
c5e0a8a890
1 changed files with 3 additions and 0 deletions
|
@ -467,7 +467,10 @@ int main( int argc, char *argv[] )
|
|||
else if( strcmp( q, "OCSPSigning" ) == 0 )
|
||||
SET_OID( ext_key_usage->buf, MBEDTLS_OID_OCSP_SIGNING );
|
||||
else
|
||||
{
|
||||
mbedtls_printf( "Invalid argument for option %s\n", p );
|
||||
goto usage;
|
||||
}
|
||||
|
||||
*tail = ext_key_usage;
|
||||
tail = &ext_key_usage->next;
|
||||
|
|
Loading…
Reference in a new issue