Browse Source
Merge pull request #1456 from robertovargas-arm/make_cert
make_cert: return error when invalid options are used
pull/1459/head
Dimitris Papastamos
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
tools/cert_create/src/main.c
|
|
@ -140,8 +140,6 @@ static void print_help(const char *cmd, const struct option *long_opt) |
|
|
|
i++; |
|
|
|
} |
|
|
|
printf("\n"); |
|
|
|
|
|
|
|
exit(0); |
|
|
|
} |
|
|
|
|
|
|
|
static int get_key_alg(const char *key_alg_str) |
|
|
@ -334,7 +332,7 @@ int main(int argc, char *argv[]) |
|
|
|
break; |
|
|
|
case 'h': |
|
|
|
print_help(argv[0], cmd_opt); |
|
|
|
break; |
|
|
|
exit(0); |
|
|
|
case 'k': |
|
|
|
save_keys = 1; |
|
|
|
break; |
|
|
|