Skip to content

Commit

Permalink
Ensure that argp keys are not interpreted as short options
Browse files Browse the repository at this point in the history
  • Loading branch information
leonlynch committed Sep 19, 2024
1 parent f9d76dc commit 3d3978c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dukpt-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static void output_buf(const void* buf, size_t length);

// argp option keys
enum dukpt_tool_option_t {
DUKPT_TOOL_OPTION_MODE = 1,
DUKPT_TOOL_OPTION_MODE = -255, // Negative value to avoid short options
DUKPT_TOOL_OPTION_KEY_TYPE,

DUKPT_TOOL_OPTION_BDK,
Expand Down

0 comments on commit 3d3978c

Please sign in to comment.