* packet.h, parse-packet.c (setup_user_id), free-packet.c (free_user_id),
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 14 Jan 2003 18:13:22 +0000 (18:13 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 14 Jan 2003 18:13:22 +0000 (18:13 +0000)
commit773513c70b470f54651b77e81438d51adad6f01a
tree4391fdef87f0c721a35b928f23d711bfaecad52f
parent2a9bd94734ada02e2efe5fba70dd5b727a2ca901
* packet.h, parse-packet.c (setup_user_id), free-packet.c (free_user_id),
keydb.h, keyid.c (namehash_from_uid): New function to rmd160-hash the
contents of a user ID packet and cache it in the uid object.

* keylist.c (list_keyblock_colon): Use namehash in field 8 of uids.  Show
dates for creation (selfsig date), and expiration in fields 6 and 7.

* trustdb.c (get_validity, get_validity_counts, update_validity): Use new
namehash function rather than hashing it locally.
g10/ChangeLog
g10/free-packet.c
g10/keydb.h
g10/keyid.c
g10/keylist.c
g10/packet.h
g10/parse-packet.c
g10/trustdb.c