diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2023-08-16 02:05:53 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-08-16 02:05:53 +0200 |
commit | 9e4d52223945d677c1ffcb0e20dae48299e9aae1 (patch) | |
tree | fd8e23826dddc37e432442f8492eec5ab7b98a3e /tpm2d | |
parent | gpg,agent,kbx,sm,scd,tpm2d,g13: Use assuan_control. (diff) | |
download | gnupg2-9e4d52223945d677c1ffcb0e20dae48299e9aae1.tar.xz gnupg2-9e4d52223945d677c1ffcb0e20dae48299e9aae1.zip |
tpm2d: Fix call to assuan_control.
* tpm2d/tpm2daemon.c (main): Use ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'tpm2d')
-rw-r--r-- | tpm2d/tpm2daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c index 416a27df0..a8c83cd8b 100644 --- a/tpm2d/tpm2daemon.c +++ b/tpm2d/tpm2daemon.c @@ -595,7 +595,7 @@ main (int argc, char **argv ) npth_init (); gpgrt_set_syscall_clamp (npth_unprotect, npth_protect); - assuan_control (ASSUAN_REINIT_SYSCALL_CLAMP, NULL); + assuan_control (ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP, NULL); /* If --debug-allow-core-dump has been given we also need to switch the working directory to a place where we can actually |