Skip to content
Commit 8a853462 authored by Nick Mathewson's avatar Nick Mathewson Committed by Richard Levitte
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6271)

(cherry picked from commit c8c25033)
(cherry picked from commit 50d06d1c)
parent df70ef22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment