aboutsummaryrefslogtreecommitdiffstats
path: root/tpm2d/tpm2daemon.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-08-16 00:05:53 +0000
committerNIIBE Yutaka <[email protected]>2023-08-16 00:05:53 +0000
commit9e4d52223945d677c1ffcb0e20dae48299e9aae1 (patch)
treefd8e23826dddc37e432442f8492eec5ab7b98a3e /tpm2d/tpm2daemon.c
parentgpg,agent,kbx,sm,scd,tpm2d,g13: Use assuan_control. (diff)
downloadgnupg-9e4d52223945d677c1ffcb0e20dae48299e9aae1.tar.gz
gnupg-9e4d52223945d677c1ffcb0e20dae48299e9aae1.zip
tpm2d: Fix call to assuan_control.
* tpm2d/tpm2daemon.c (main): Use ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tpm2d/tpm2daemon.c')
-rw-r--r--tpm2d/tpm2daemon.c2
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