1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

g13: Fix for new assuan_control.

* g13/g13.c (main): Fix assuan control code.
--

Fixes-commit: 1d73806972b1fb8670326d0cea4f2768b14db67b
GnuPG-bug-id: 6606
This commit is contained in:
Werner Koch 2023-08-29 13:23:48 +02:00
parent a430f22549
commit 9dd8fd4ae4
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -433,7 +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);
assuan_control (ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP, NULL);
/* Setup a default control structure for command line mode. */
memset (&ctrl, 0, sizeof ctrl);