Home GnuPG
Diffusion GnuPG ce5bed2800e5

w32: Fix gnupg_tmpfile for possible failure.

Description

w32: Fix gnupg_tmpfile for possible failure.

* common/sysutils.c (gnupg_tmpfile): Use different value for next
attempt.

The resolution of system timer is typically in the range of 10
milliseconds to 16 milliseconds. Thus, before the change, it may
fail. Actually, it failed with Wine emulation.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Nov 18 2022, 11:23 AM
Parents
rG9f7ff4367247: scd: Redact --debug cardio output of a VERIFY APDU.
Branches
Unknown
Tags
Unknown