mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* packet.h, pkclist.c (build_pk_list), free-packet.c
(release_public_key_parts): Remove unused namehash element for public keys. * trustdb.h, gpgv.c, trustdb.c (get_validity, get_validity_info): Pass a user ID in rather than a namehash, so we only have to do the hashing in one place.
This commit is contained in:
parent
8602e35feb
commit
e81bae94cb
9 changed files with 31 additions and 35 deletions
|
@ -68,7 +68,6 @@ free_seckey_enc( PKT_signature *sig )
|
|||
}
|
||||
|
||||
|
||||
|
||||
void
|
||||
release_public_key_parts( PKT_public_key *pk )
|
||||
{
|
||||
|
@ -84,10 +83,6 @@ release_public_key_parts( PKT_public_key *pk )
|
|||
m_free (pk->prefs);
|
||||
pk->prefs = NULL;
|
||||
}
|
||||
if( pk->namehash ) {
|
||||
m_free(pk->namehash);
|
||||
pk->namehash = NULL;
|
||||
}
|
||||
if (pk->user_id) {
|
||||
free_user_id (pk->user_id);
|
||||
pk->user_id = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue