From 7684e765606b7c8fca8e7dfbd58a1a5513a8eb6d Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 18 Sep 2019 19:37:20 +0200 Subject: openpgp: Rename selfsigs to self_signatures. - There are {TPK, ComponenBinding}::{certifications, self_revocations, other_revocations}. Don't abbreviate self signtures either. --- openpgp/src/crypto/hash.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openpgp/src/crypto') diff --git a/openpgp/src/crypto/hash.rs b/openpgp/src/crypto/hash.rs index b7c19c9b..ba2e0545 100644 --- a/openpgp/src/crypto/hash.rs +++ b/openpgp/src/crypto/hash.rs @@ -460,7 +460,7 @@ mod test { fn check(tpk: TPK) -> (usize, usize, usize) { let mut userid_sigs = 0; for (i, binding) in tpk.userids().enumerate() { - for selfsig in binding.selfsigs() { + for selfsig in binding.self_signatures() { let h = Signature::userid_binding_hash( selfsig, tpk.primary(), @@ -476,7 +476,7 @@ mod test { } let mut ua_sigs = 0; for (i, binding) in tpk.user_attributes().enumerate() { - for selfsig in binding.selfsigs() { + for selfsig in binding.self_signatures() { let h = Signature::user_attribute_binding_hash( selfsig, tpk.primary(), @@ -492,7 +492,7 @@ mod test { } let mut subkey_sigs = 0; for (i, binding) in tpk.subkeys().enumerate() { - for selfsig in binding.selfsigs() { + for selfsig in binding.self_signatures() { let h = Signature::subkey_binding_hash( selfsig, tpk.primary(), -- cgit v1.2.3