diff --git a/programs/x509/load_roots.c b/programs/x509/load_roots.c index de9914e86..69357ff3a 100644 --- a/programs/x509/load_roots.c +++ b/programs/x509/load_roots.c @@ -136,7 +136,7 @@ int main( int argc, char *argv[] ) struct mbedtls_timing_hr_time timer; unsigned long ms; - if( argc == 0 ) + if( argc <= 1 ) { mbedtls_printf( USAGE ); goto exit;