commit | c8c250333cd254ab3f4d709ebc5ed86a7c065721 | [log] [tgz] |
---|---|---|
author | Nick Mathewson <nickm@torproject.org> | Thu May 24 15:23:15 2018 -0400 |
committer | Richard Levitte <levitte@openssl.org> | Sat May 26 08:36:42 2018 +0200 |
tree | ae69c7f88799c452e73b07e7bec459a128fa511a | |
parent | bbbf752a3c8b5a966bcb48fc71a3dc03832e7b27 [diff] |
Improve the example getpass() implementation to show an error return Also, modernize the code, so that it isn't trying to store a size_t into an int, and then check the int's sign. :/ Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6271)