aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r--g10/trustdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 9afc1bf8e..ab5d1a488 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -951,8 +951,8 @@ store_validation_status (int depth, KBNODE keyblock)
if (status)
{
- if( uid->photo )
- rmd160_hash_buffer (namehash, uid->photo, uid->photolen);
+ if( uid->attrib_data )
+ rmd160_hash_buffer (namehash,uid->attrib_data,uid->attrib_len);
else
rmd160_hash_buffer (namehash, uid->name, uid->len );
@@ -1373,8 +1373,8 @@ validate_keys (int interactive)
byte namehash[20];
PKT_user_id *uid = node->pkt->pkt.user_id;
- if( uid->photo )
- rmd160_hash_buffer (namehash, uid->photo, uid->photolen);
+ if( uid->attrib_data )
+ rmd160_hash_buffer (namehash,uid->attrib_data,uid->attrib_len);
else
rmd160_hash_buffer (namehash, uid->name, uid->len );
update_validity (pk, namehash, 0, TRUST_ULTIMATE);