Skip to content

Commit

Permalink
tpm2_createek: allow no options
Browse files Browse the repository at this point in the history
Allow defaults to be used and thus no options required.

Signed-off-by: William Roberts <william.c.roberts@intel.com>
  • Loading branch information
William Roberts committed Mar 1, 2018
1 parent d5bfd4e commit fc3618a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tpm2_createek.c
Expand Up @@ -262,7 +262,7 @@ bool tpm2_tool_onstart(tpm2_options **opts) {
};

*opts = tpm2_options_new("e:o:H:P:g:p:S:f:c:", ARRAY_LEN(topts), topts,
on_option, NULL, TPM2_OPTIONS_SHOW_USAGE);
on_option, NULL, 0);

return *opts != NULL;
}
Expand Down

0 comments on commit fc3618a

Please sign in to comment.