diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-11-26 13:04:47 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-11-26 14:29:29 +0100 |
commit | b24d1c5a099e2c741cf724816d49b8dd7977e049 (patch) | |
tree | 0288feb61d74b61acc39045a5e2b31551eb7b131 /net/src | |
parent | 33fd6f48682b15e140d479574ec3377610acb22d (diff) |
openpgp: Implement From<Fingerprint> for KeyID.
- Remove Fingerprint::to_keyid, use From instead.
Diffstat (limited to 'net/src')
-rw-r--r-- | net/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/lib.rs b/net/src/lib.rs index 277761a8..3ab03a61 100644 --- a/net/src/lib.rs +++ b/net/src/lib.rs @@ -184,7 +184,7 @@ impl KeyServer { match TPK::from_reader(r) { Ok(tpk) => { if tpk.keys_all().any(|(_, _, key)| { - key.fingerprint().to_keyid() + KeyID::from(key.fingerprint()) == keyid_want }) { future::done(Ok(tpk)) |