aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-09-18 09:31:36 +0000
committerWerner Koch <[email protected]>2017-09-18 09:31:36 +0000
commita0035986a8615df056182bb9af775b8b7b22003d (patch)
tree6b8522ac2a20c14ae4e0855c3eb202cfc2216637 /tools/gpg-wks.h
parentwks: Use dedicated type to convey user ids. (diff)
downloadgnupg-a0035986a8615df056182bb9af775b8b7b22003d.tar.gz
gnupg-a0035986a8615df056182bb9af775b8b7b22003d.zip
wks: Print the UID creation time with gpg-wks-client --check.
* tools/gpg-wks.h (uidinfo_list_s): Add field 'created'. * tools/wks-util.c (append_to_uidinfo_list): Add arf 'created'. (wks_list_key): Pass timestamp to append_to_uidinfo_list. * tools/gpg-wks-client.c (command_check): Print UID creation time. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tools/gpg-wks.h')
-rw-r--r--tools/gpg-wks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-wks.h b/tools/gpg-wks.h
index 7fc8d9acd..cb89fd501 100644
--- a/tools/gpg-wks.h
+++ b/tools/gpg-wks.h
@@ -73,6 +73,7 @@ typedef struct policy_flags_s *policy_flags_t;
struct uidinfo_list_s
{
struct uidinfo_list_s *next;
+ time_t created; /* Time the userid was created. */
char *mbox; /* NULL or the malloced mailbox from UID. */
char uid[1];
};