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:07:17 +0000 (13:07 +0100)
commitf54167d1dcfb0dac8172c48c9dc0f9af4ece3ec1
tree5e231898b66355b73e3ab0be687a0bd83eb130e8
parent6042582b624bcabbfd33677372aa04b9413ace67
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