Neuter the completely broken UI_UTIL_read_pw* API
authortb <tb@openbsd.org>
Sat, 24 Aug 2024 07:50:23 +0000 (07:50 +0000)
committertb <tb@openbsd.org>
Sat, 24 Aug 2024 07:50:23 +0000 (07:50 +0000)
commit82859680be46969d06bd4b9d85dfc6f506a46dd4
tree50eb0b31874a2b98493e861171b7b95a28de44b3
parent3b161766402507a3551f96cf9790312e5b6fc3eb
Neuter the completely broken UI_UTIL_read_pw* API

Return 0 on success, return <= 0 on failure. Sigh. In particular, if an
allocation failed, the password that no one entered was considered valid.

ok jsing
lib/libcrypto/ui/ui_util.c