Home GnuPG
Diffusion GnuPG 2abea42d9ce4

kbx: Use es_sysopen_nc instead of es_fdopen_nc.

Description

kbx: Use es_sysopen_nc instead of es_fdopen_nc.

* kbx/kbxserver.c (prepare_outstream): Use es_sysopen_nc
and avoid the use of translate_sys2libc_fd.

On Windows, it's better directly use the system HANDLE.

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

Details

Provenance
gniibeAuthored on Jul 6 2023, 3:25 AM
Parents
rGf2dcd158a5ff: gpg: Fix gpg --server mode on Windows.
Branches
Unknown
Tags
Unknown