From 11ccc9b5e378e137d607f68bb4a9dd80981a8860 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 4 Aug 2022 23:13:59 +0200 Subject: [PATCH] cleanup import --- openpgp-card-sequoia/src/sq_util.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openpgp-card-sequoia/src/sq_util.rs b/openpgp-card-sequoia/src/sq_util.rs index e386c42..0b91f7f 100644 --- a/openpgp-card-sequoia/src/sq_util.rs +++ b/openpgp-card-sequoia/src/sq_util.rs @@ -9,7 +9,7 @@ use anyhow::{anyhow, Context, Result}; use std::io; use openpgp::armor; -use openpgp::cert::amalgamation::key::ValidErasedKeyAmalgamation; +use openpgp::cert::amalgamation::key::{ErasedKeyAmalgamation, ValidErasedKeyAmalgamation}; use openpgp::crypto; use openpgp::packet::key::{PublicParts, SecretParts}; use openpgp::parse::{ @@ -22,7 +22,6 @@ use openpgp::{Cert, Fingerprint}; use sequoia_openpgp as openpgp; use openpgp_card::{Error, KeyType}; -use sequoia_openpgp::cert::amalgamation::key::ErasedKeyAmalgamation; /// Retrieve a (sub)key from a Cert, for a given KeyType. ///