diff options
author | 2018-06-13 15:02:09 +0000 | |
---|---|---|
committer | 2018-06-13 15:02:09 +0000 | |
commit | 05b936d72ee5fae83075fc48ac7f709308fde3fb (patch) | |
tree | 53137a4b619f60d0ee331fbe19b3fc0e6a88e921 /lib/libcrypto/dsa/dsa_ossl.c | |
parent | Make the VFS layer responsible for preventing the deletion (diff) | |
download | wireguard-openbsd-05b936d72ee5fae83075fc48ac7f709308fde3fb.tar.xz wireguard-openbsd-05b936d72ee5fae83075fc48ac7f709308fde3fb.zip |
Call pledge(2) earlier before opening the auth channel and readpassphrase()
Before this change, only the password validation was pledged, now it
also includes some more code including the "Password:" prompt.
To pledge the code earlier, the getpwnam_shadow() had to be moved up -
it works under "getpw" but it does not return the actual password hash
under pledge. This also works with yp(ldap).
OK deraadt@ tb@ brynet@
Diffstat (limited to 'lib/libcrypto/dsa/dsa_ossl.c')
0 files changed, 0 insertions, 0 deletions