aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/keylist.c')
-rw-r--r--gpgme/keylist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpgme/keylist.c b/gpgme/keylist.c
index 55d427d2..1bcda34e 100644
--- a/gpgme/keylist.c
+++ b/gpgme/keylist.c
@@ -300,7 +300,8 @@ keylist_colon_handler (GpgmeCtx ctx, char *line)
case 6: /* timestamp (seconds) */
key->keys.timestamp = parse_timestamp (p);
break;
- case 7: /* valid for n days */
+ case 7: /* expiration time (seconds) */
+ key->keys.expires_at = parse_timestamp (p);
break;
case 8: /* X.509 serial number */
/* fixme: store it */
@@ -345,7 +346,7 @@ keylist_colon_handler (GpgmeCtx ctx, char *line)
case 6: /* timestamp (seconds) */
sk->timestamp = parse_timestamp (p);
break;
- case 7: /* valid for n days */
+ case 7: /* expiration time (seconds) */
break;
case 8: /* reserved (LID) */
break;