summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-05-28 06:43:59 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2021-05-28 06:43:59 +0200
commit36f50b259cae0428264f4b7d60b82209e3dd8725 (patch)
tree81a571c1358bc18db21334de077aa2a87266f091 /agent
parentscd: Fix zero-byte handling in ECC. (diff)
downloadgnupg2-36f50b259cae0428264f4b7d60b82209e3dd8725.tar.xz
gnupg2-36f50b259cae0428264f4b7d60b82209e3dd8725.zip
agent: Fix calling handle_pincache_put.
* agent/call-scd.c (padding_info_cb): Fix the argument. -- GnuPG-bug-id: 5436 Reported-by: Bogdan Luca Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'agent')
-rw-r--r--agent/call-scd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c
index 395c13b34..154ea34d9 100644
--- a/agent/call-scd.c
+++ b/agent/call-scd.c
@@ -546,7 +546,7 @@ padding_info_cb (void *opaque, const char *line)
*r_padding = atoi (s);
}
else if ((s=has_leading_keyword (line, "PINCACHE_PUT")))
- err = handle_pincache_put (line);
+ err = handle_pincache_put (s);
return err;
}