diff options
| author | NIIBE Yutaka <[email protected]> | 2016-11-18 11:32:22 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2016-11-18 11:32:22 +0000 |
| commit | 1c0b140cccfb884c6d07785c3284b9df06dccd3c (patch) | |
| tree | 12489471934317d8b9a20ac219ed99ead877c152 /agent/gpg-agent.c | |
| parent | dirmngr: Use a longer timer tick interval. (diff) | |
| download | gnupg-1c0b140cccfb884c6d07785c3284b9df06dccd3c.tar.gz gnupg-1c0b140cccfb884c6d07785c3284b9df06dccd3c.zip | |
g10: Fix flags to open for lock of ToFU.
* g10/tofu.c (busy_handler): Fix the flags and utime is not needed.
--
The argument flags must include one of O_RDONLY, O_WRONLY, or O_RDWR.
Adding O_TRUNC, the file is updated. So, utime is not needed.
Fixes-commit: b2e1b17efa952afcf7aeec8b15e9d0088dba587a
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/gpg-agent.c')
0 files changed, 0 insertions, 0 deletions
