diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-19 13:26:21 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-19 13:26:21 +0000 |
commit | 9a2ce8fe5fcbcd9a4814dedcc0dd9cacdccfdeb9 (patch) | |
tree | 5f367c1cb2ed4ca92e789b5af6b4af5b2ecd56d9 /lib/libssl | |
parent | c9496539bfdd21acc93aa1a4964be238c313b801 (diff) |
Partially fix interactive mode in patch
If ask() can't open /dev/tty for reading, it assumes the default answer
and carries on. Add missing unveil, so that ask() waits for an answer.
This isn't a full fix since it won't allow giving paths outside the tree
rooted at the current directory, but that's expected by the recent change.
Questions are only asked outside of force or batch mode.
fix suggested by op and semarie
ok deraadt florian
Diffstat (limited to 'lib/libssl')
0 files changed, 0 insertions, 0 deletions