Home GnuPG
Diffusion GnuPG 7c6b014d3bc6

tests: Fix fake-pinentry for Windows.

Description

tests: Fix fake-pinentry for Windows.

* tests/openpgp/fake-pinentry.c (main): Override PINENTRY_USER_DATA,
by the option.

In the Assuan implementation for Windows, spawn function doesn't call
the atfork callback. Thus, the environment variable is not updated by
gpg-agent when it spawns pinentry. Reliable way is the interaction
to override the option.

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

Details

Provenance
gniibeAuthored on Dec 2 2022, 8:16 AM
Parents
rG7663fdd983d2: tests: Fix make check-all.
Branches
Unknown
Tags
Unknown