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 /openpgp/examples | |
parent | 312ad42659b6b16983981dfbc891972cd0ff9e01 (diff) |
openpgp: Use the new framework for Cert::userid.
- Fixes #414.
Diffstat (limited to 'openpgp/examples')
-rw-r--r-- | openpgp/examples/web-of-trust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/web-of-trust.rs b/openpgp/examples/web-of-trust.rs index a4fe3d0f..7ef155b1 100644 --- a/openpgp/examples/web-of-trust.rs +++ b/openpgp/examples/web-of-trust.rs @@ -38,7 +38,7 @@ fn main() { match cert { Ok(cert) => { let keyid = cert.keyid(); - for uidb in cert.userids() { + for uidb in cert.userids().components() { for tps in uidb.certifications() { for issuer in tps.get_issuers() { println!("{}, {:?}, {}", |