diff options
author | Marcus Burghardt <mburghardt@mozilla.com> | 2019-07-26 16:27:21 +0000 |
---|---|---|
committer | Marcus Burghardt <mburghardt@mozilla.com> | 2019-07-26 16:27:21 +0000 |
commit | 9de8683f808d7dfba16ceac9d2f9b69388dfd2b9 (patch) | |
tree | 14796896c11e22cb91b585cdc35374996dea8444 /cmd/lib | |
parent | 7d6c933fedd8caa15ddebaf2223857f62eb6ee07 (diff) | |
download | nss-hg-9de8683f808d7dfba16ceac9d2f9b69388dfd2b9.tar.gz |
Bug 1560806 - Increased the max size supported for softoken passwords. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D39444
Diffstat (limited to 'cmd/lib')
-rw-r--r-- | cmd/lib/secpwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/lib/secpwd.c b/cmd/lib/secpwd.c index 7e99b2757..e8ca792e8 100644 --- a/cmd/lib/secpwd.c +++ b/cmd/lib/secpwd.c @@ -66,7 +66,7 @@ SEC_GetPassword(FILE *input, FILE *output, char *prompt, int infd = fileno(input); int isTTY = isatty(infd); #endif - char phrase[200] = { '\0' }; /* ensure EOF doesn't return junk */ + char phrase[500] = { '\0' }; /* ensure EOF doesn't return junk */ for (;;) { /* Prompt for password */ |