From 3366d09c94c88bb8366ed470e49ff841f336b894 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 17 Dec 2018 12:48:07 +0100 Subject: openpgp: Change KeyIter to also return the RevocationStatus. - A Key's revocation status is a property of its binding, but the binding is not exposed by KeyIter. Expose it. --- sqv/src/sqv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqv') diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs index 495ec5dc..a1f0c523 100644 --- a/sqv/src/sqv.rs +++ b/sqv/src/sqv.rs @@ -214,7 +214,7 @@ fn real_main() -> Result<(), failure::Error> { if let Some(ref tpk) = tpko { // Find the right key. - for (_, key) in tpk.keys() { + for (_, _, key) in tpk.keys() { if issuer == key.keyid() { let mut hash = match hashes.get(&sig.hash_algo()) { Some(h) => h.clone(), -- cgit v1.2.3