Merge pull request #253 from embhorn/zd12084

Fix parsing of -pwd
pull/255/head
Kaleb Himes 2021-04-14 10:07:19 -07:00 committed by GitHub
commit c7652aa7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ int wolfCLU_setup(int argc, char** argv, char action)
inCheck = 1;
}
ret = wolfCLU_checkForArg("-pwd", 3, argc, argv);
ret = wolfCLU_checkForArg("-pwd", 4, argc, argv);
if (ret > 0) {
/* password pwdKey */
XMEMCPY(pwdKey, argv[ret+1], size);