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:08:42 +0000 (13:08 +0100)
commitf16fede1cdee87d6803a0dc572449998d74facb3
tree64952bfb1bc57dc34d535af469c7f54cbd464e1a
parent4a15b7c62502dd563f371e2a8737b1c8b98db39e
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