diff options
author | NIIBE Yutaka <[email protected]> | 2023-10-02 01:32:04 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-10-02 01:32:04 +0000 |
commit | 78afc209ccb72efcfb60aa3468c2c12fe026f8a7 (patch) | |
tree | 9bf31e76a63a55bd6b2fc69fd615d58ad1442f26 /tpm2d | |
parent | tpm2d: Check SWTPM environment variable for swtpm support. (diff) | |
download | gnupg-78afc209ccb72efcfb60aa3468c2c12fe026f8a7.tar.gz gnupg-78afc209ccb72efcfb60aa3468c2c12fe026f8a7.zip |
tpm2d: Fix call to assuan_control.
* tpm2d/tpm2daemon.c (main): Use ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP.
--
Fixes-commit: 9e4d52223945d677c1ffcb0e20dae48299e9aae1
Signed-off-by: NIIBE Yutaka <[email protected]>
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 a8c83cd8b..8e16e931a 100644 --- a/tpm2d/tpm2daemon.c +++ b/tpm2d/tpm2daemon.c @@ -737,7 +737,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); /* Detach from tty and put process into a new session. */ if (!nodetach ) |