aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-11-20 09:56:52 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2020-11-20 09:56:52 +0900
commit0a265d6498e8076bab39fd69f77d83899ed6878a (patch)
treec0fb7462e0922263c8cabbb39f23d91e2835dc95
parent4070f302e4decc8d54d1305cbd30f6dab052ef7e (diff)
downloadgnupg-0a265d6498e8076bab39fd69f77d83899ed6878a.tar.gz
gpg,agent: Fix comments for KEYPAIRINFO status report.
-- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--agent/call-scd.c2
-rw-r--r--g10/call-agent.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c
index 3ede33c1d..cde2d6dd8 100644
--- a/agent/call-scd.c
+++ b/agent/call-scd.c
@@ -677,7 +677,7 @@ readkey_status_cb (void *opaque, const char *line)
&& !parm->keyref)
{
/* The format of such a line is:
- * KEYPAIRINFO <hexgrip> <keyref> [usage] [keytime] [algostr]
+ * KEYPAIRINFO <hexgrip> <keyref> [usage] [keytime] [fprtime] [algostr]
*
* Here we only need the keyref. We use only the first received
* KEYPAIRINFO; it is possible to receive several if there are
diff --git a/g10/call-agent.c b/g10/call-agent.c
index c87b92ed8..8e241e6a7 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -840,7 +840,7 @@ scd_keypairinfo_status_cb (void *opaque, const char *line)
if (keywordlen == 11 && !memcmp (keyword, "KEYPAIRINFO", keywordlen))
{
/* The format of such a line is:
- * KEYPAIRINFO <hexgrip> <keyref> [usage] [keytime]
+ * KEYPAIRINFO <hexgrip> <keyref> [usage] [keytime] [fprtime] [algostr]
*/
const char *fields[4];
int nfields;