diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-09-18 19:37:20 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-09-18 19:37:20 +0200 |
commit | 7684e765606b7c8fca8e7dfbd58a1a5513a8eb6d (patch) | |
tree | 211fdcb7a409395f047850f87d6c79fb4c426b40 /openpgp/src/crypto | |
parent | 6cbc940b4f59d9d9ddaef729fb8db7b6ec63e533 (diff) |
openpgp: Rename selfsigs to self_signatures.
- There are {TPK, ComponenBinding}::{certifications,
self_revocations, other_revocations}. Don't abbreviate self
signtures either.
Diffstat (limited to 'openpgp/src/crypto')
-rw-r--r-- | openpgp/src/crypto/hash.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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(), |