aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/agent.h2
-rw-r--r--agent/command.c2
-rw-r--r--agent/gpg-agent.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/agent/agent.h b/agent/agent.h
index efdfe5b40..ce096fa95 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -694,7 +694,7 @@ agent_tpm2d_ecc_kem (ctrl_t ctrl, const unsigned char *shadow_info,
const unsigned char *ecc_ct,
size_t ecc_point_len, unsigned char *ecc_ecdh)
{
- (void)ctrl; (void)ecc_ct;
+ (void)ctrl; (void)shadow_info; (void)ecc_ct;
(void)ecc_point_len; (void)ecc_ecdh;
return gpg_error (GPG_ERR_NOT_SUPPORTED);
}
diff --git a/agent/command.c b/agent/command.c
index a50cbce5a..21c95203c 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -3418,7 +3418,7 @@ cmd_keytocard (assuan_context_t ctx, char *line)
timestamp = isotime2epoch (argv[3]);
if (argc > 4)
{
- size_t n;
+ size_t n = 0;
err = parse_hexstring (ctx, argv[4], &n);
if (err)
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 9227eec10..cbb624a02 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1855,6 +1855,9 @@ main (int argc, char **argv)
}
log_info ("%s %s started\n", gpgrt_strusage(11), gpgrt_strusage(13) );
+#ifdef HAVE_W32_SYSTEM
+ w32_ack_to_frontend ();
+#endif
handle_connections (fd, fd_extra, fd_browser, fd_ssh,
reliable_homedir_inotify);
assuan_sock_close (fd);