mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed backport of libassuan-2 changes.
This commit is contained in:
parent
cb6506e9ac
commit
ae4afd61a5
4 changed files with 10 additions and 6 deletions
|
@ -1897,9 +1897,7 @@ register_commands (assuan_context_t ctx)
|
|||
if (rc)
|
||||
return rc;
|
||||
}
|
||||
#ifdef HAVE_ASSUAN_SET_IO_MONITOR
|
||||
assuan_register_post_cmd_notify (ctx, post_cmd_notify);
|
||||
#endif
|
||||
assuan_register_reset_notify (ctx, reset_notify);
|
||||
assuan_register_option_handler (ctx, option_handler);
|
||||
return 0;
|
||||
|
@ -1962,9 +1960,7 @@ start_command_handler (ctrl_t ctrl, gnupg_fd_t listen_fd, gnupg_fd_t fd)
|
|||
ctrl->server_local->use_cache_for_signing = 1;
|
||||
ctrl->digest.raw_value = 0;
|
||||
|
||||
#ifdef HAVE_ASSUAN_SET_IO_MONITOR
|
||||
assuan_set_io_monitor (ctx, io_monitor, NULL);
|
||||
#endif
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue