aboutsummaryrefslogtreecommitdiffstats
path: root/g13/g13.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-08-02 05:34:17 +0000
committerNIIBE Yutaka <[email protected]>2023-08-03 07:34:18 +0000
commit1d73806972b1fb8670326d0cea4f2768b14db67b (patch)
tree1727a05bc0cd88c1eddf6ca6ab32799757bd2abf /g13/g13.c
parentagent: Use new libassuan API for pipe server process. (diff)
downloadgnupg-1d73806972b1fb8670326d0cea4f2768b14db67b.tar.gz
gnupg-1d73806972b1fb8670326d0cea4f2768b14db67b.zip
gpg,agent,kbx,sm,scd,tpm2d,g13: Use assuan_control.
* agent/gpg-agent.c (thread_init_once): Call assuan_control. * g10/gpg.c (main): Likewise. * g13/g13.c (main): Likewise. * kbx/keyboxd.c (thread_init_once): Likewise. * scd/scdaemon.c (main): Likewise. * sm/gpgsm.c (main): Likewise. * tpm2d/tpm2daemon.c (main): Likewise. -- GnuPG-bug-id: 6606 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g13/g13.c')
-rw-r--r--g13/g13.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g13/g13.c b/g13/g13.c
index d9594dd52..e0453176a 100644
--- a/g13/g13.c
+++ b/g13/g13.c
@@ -433,6 +433,7 @@ main (int argc, char **argv)
/* Prepare libassuan. */
assuan_set_gpg_err_source (GPG_ERR_SOURCE_DEFAULT);
setup_libassuan_logging (&opt.debug, NULL);
+ assuan_control (ASSUAN_REINIT_SYSCALL_CLAMP, NULL);
/* Setup a default control structure for command line mode. */
memset (&ctrl, 0, sizeof ctrl);