CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2021/10/13 11:41:14
Modified files: usr.bin/doas : doas.c Log message: Fix fd leak of /dev/tty on auth failure, introduced in revision 1.91. Move the auth retry loop into authuser() and only open /dev/tty once. Also refactor the password reading into authuser_checkpass(). Bug reported by multi AT in-addr DOT xyz. OK kn@