Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
6c5e196b
Unverified
Commit
6c5e196b
authored
Jul 02, 2018
by
Dimitris Papastamos
Committed by
GitHub
Jul 02, 2018
Browse files
Merge pull request #1456 from robertovargas-arm/make_cert
make_cert: return error when invalid options are used
parents
08c2f264
600835d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/cert_create/src/main.c
View file @
6c5e196b
...
@@ -140,8 +140,6 @@ static void print_help(const char *cmd, const struct option *long_opt)
...
@@ -140,8 +140,6 @@ static void print_help(const char *cmd, const struct option *long_opt)
i
++
;
i
++
;
}
}
printf
(
"
\n
"
);
printf
(
"
\n
"
);
exit
(
0
);
}
}
static
int
get_key_alg
(
const
char
*
key_alg_str
)
static
int
get_key_alg
(
const
char
*
key_alg_str
)
...
@@ -334,7 +332,7 @@ int main(int argc, char *argv[])
...
@@ -334,7 +332,7 @@ int main(int argc, char *argv[])
break
;
break
;
case
'h'
:
case
'h'
:
print_help
(
argv
[
0
],
cmd_opt
);
print_help
(
argv
[
0
],
cmd_opt
);
break
;
exit
(
0
)
;
case
'k'
:
case
'k'
:
save_keys
=
1
;
save_keys
=
1
;
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment