Home GnuPG
Diffusion GnuPG f9919bcc4883

gpg,gpgsm: New option --disable-fd-translation.

Description

gpg,gpgsm: New option --disable-fd-translation.

* common/sysutils.c (no_translate_sys2libc_fd) [W32]: New global.
(disable_translate_sys2libc_fd): New.
(translate_sys2libc_fd): Make static and cobuild only for Windows.
(translate_sys2libc_fd_int): Use no_translate_sys2libc_fd flag.
* g10/gpg.c, sm/gpgsm.c (oDisableFdTranslation): New const.
(opts): Add option "disable-fd-translation".
(main): Set option.

Details

Provenance
wernerAuthored on Mar 26 2024, 3:46 PM
Parents
rGcec1fde1bc7e: scd: Add new OpenPGP vendor
Branches
Unknown
Tags
Unknown
Tasks
T7060: Add option to allow the use of libcs fds on the Windows command line.