diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-24 04:56:35 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-08-03 07:34:00 +0000 |
commit | 0821ceebfb7ad018b7d6067d01f3ccee8e27df08 (patch) | |
tree | 2667995470d2531548e2d1df0f76919f8641ffd4 /agent/gpg-agent.c | |
parent | agent,dirmngr,kbx,scdaemon: Use assuan_sock_accept. (diff) | |
download | gnupg-0821ceebfb7ad018b7d6067d01f3ccee8e27df08.tar.gz gnupg-0821ceebfb7ad018b7d6067d01f3ccee8e27df08.zip |
agent,dirmgr,gpg,g13,kbx,scd,sm,tmp2d: Remove ASSUAN_SYSTEM_NPTH.
* agent/gpg-agent.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(initialize_modules): Don't call assuan_set_system_hooks.
(main): Don't call assuan_sock_set_system_hooks.
* dirmngr/dirmngr.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(thread_init): Don't call assuan_set_system_hooks.
* g10/gpg.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(main): Don't call assuan_set_system_hooks.
* g13/g13.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(main): Set the syscall clamp with gpgrt_set_syscall_clamp.
Don't call assuan_set_system_hooks.
* kbx/keyboxd.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(initialize_modules): Don't call assuan_set_system_hooks.
(main): Don't call assuan_sock_set_system_hooks.
* scd/scdaemon.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(main): Don't call assuan_set_system_hooks.
* sm/gpgsm.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(main): Don't call assuan_set_system_hooks.
* tpm2d/tpm2daemon.c (ASSUAN_SYSTEM_NPTH_IMPL): Remove.
(main): Don't call assuan_set_system_hooks.
--
GnuPG-bug-id: 6606
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r-- | agent/gpg-agent.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 624d2972c..afd864295 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -520,9 +520,6 @@ static void handle_connections (gnupg_fd_t listen_fd, static void check_own_socket (void); static int check_for_running_agent (int silent); -/* Pth wrapper function definitions. */ -ASSUAN_SYSTEM_NPTH_IMPL; - /* Functions. @@ -1053,7 +1050,6 @@ static void initialize_modules (void) { thread_init_once (); - assuan_set_system_hooks (ASSUAN_SYSTEM_NPTH); initialize_module_cache (); initialize_module_call_pinentry (); initialize_module_daemon (); @@ -1113,7 +1109,6 @@ main (int argc, char **argv) assuan_set_malloc_hooks (&malloc_hooks); assuan_set_gpg_err_source (GPG_ERR_SOURCE_DEFAULT); assuan_sock_init (); - assuan_sock_set_system_hooks (ASSUAN_SYSTEM_NPTH); setup_libassuan_logging (&opt.debug, NULL); setup_libgcrypt_logging (); |