Home GnuPG
Diffusion GnuPG fb046ccd931d

sm: Use open_stream_nc for HANDLE by assuan_get_output_fd.

Description

sm: Use open_stream_nc for HANDLE by assuan_get_output_fd.

* sm/server.c (cmd_encrypt): Use gnupg_fd_t for OUT_FD.
Call open_stream_nc with OUT_FD.
(cmd_decrypt, cmd_verify, cmd_sign, cmd_export): Likewise.
  • GnuPG-bug-id: T6580
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 13 2023, 4:18 AM
Parents
rG23bcb78d279e: gpg: Add support for Subkey-Expire-Date.
Branches
Unknown
Tags
Unknown
Tasks
T6580: Use gnupg_fd_t if it's relevant