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

gpg,agent: Fix comments for KEYPAIRINFO status report.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2020-11-20 09:56:52 +09:00
parent 4070f302e4
commit 0a265d6498
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;