diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-20 10:32:51 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-20 10:34:40 +0100 |
commit | a1230b3a6c31d77fff4626814de4a681e2f2a3a0 (patch) | |
tree | 58ec2fd279c1eb57c022390f04377b7491f8ee27 /tool/src/commands/inspect.rs | |
parent | 312ad42659b6b16983981dfbc891972cd0ff9e01 (diff) |
openpgp: Use the new framework for Cert::userid.
- Fixes #414.
Diffstat (limited to 'tool/src/commands/inspect.rs')
-rw-r--r-- | tool/src/commands/inspect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index 417ded93..a2a82d14 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -147,7 +147,7 @@ fn inspect_cert(output: &mut dyn io::Write, cert: &openpgp::Cert, writeln!(output)?; } - for uidb in cert.userids() { + for uidb in cert.userids().components() { writeln!(output, " UserID: {}", uidb.userid())?; inspect_revocation(output, "", uidb.revoked(None))?; if let Some(sig) = uidb.binding_signature(None) { |