summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-09-18 19:37:20 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-18 19:37:20 +0200
commit7684e765606b7c8fca8e7dfbd58a1a5513a8eb6d (patch)
tree211fdcb7a409395f047850f87d6c79fb4c426b40 /openpgp/src/crypto
parent6cbc940b4f59d9d9ddaef729fb8db7b6ec63e533 (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.rs6
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(),