]> granicus.if.org Git - openssl/commit
Use correct length when prompting for password.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 4 Apr 2014 11:44:43 +0000 (12:44 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 4 Apr 2014 12:06:49 +0000 (13:06 +0100)
commitbb98beade96739f7cda7d4ca44743532cd3a33be
treee8e9eeaa4eb45ff347e3dd87513a2aa05897b35b
parentb8d208c54912bf96fb6abeb249b8b8b7291a184b
Use correct length when prompting for password.

Use bufsiz - 1 not BUFSIZ - 1 when prompting for a password in
the openssl utility.

Thanks to Rob Mackinnon, Leviathan Security for reporting this issue.
(cherry picked from commit 7ba08a4d73c1bdfd3aced09a628b1d7d7747cdca)
apps/apps.c