Skip to content

Commit 26e40ac

Browse files
committed
fixup extraneous import
1 parent ef27e67 commit 26e40ac

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

dsa/src/signing_key.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,29 @@
22
//! Module containing the definition of the private key container
33
//!
44
5-
use crate::{Components, OID, Signature, VerifyingKey};
5+
use crate::{Components, Signature, VerifyingKey, OID};
66
use core::{
77
cmp::min,
88
fmt::{self, Debug},
99
};
1010
use crypto_bigint::{
11-
BoxedUint, NonZero, Odd,
1211
modular::{BoxedMontyForm, BoxedMontyParams},
12+
BoxedUint, NonZero, Odd,
1313
};
14-
use digest::{Digest, FixedOutputReset, core_api::BlockSizeUser};
14+
use digest::{core_api::BlockSizeUser, Digest, FixedOutputReset};
1515
use pkcs8::{
16-
AlgorithmIdentifierRef, EncodePrivateKey, PrivateKeyInfoRef, SecretDocument,
1716
der::{
18-
AnyRef, Decode, Encode,
1917
asn1::{OctetStringRef, UintRef},
18+
AnyRef, Decode, Encode,
2019
},
20+
AlgorithmIdentifierRef, EncodePrivateKey, PrivateKeyInfoRef, SecretDocument,
2121
};
22+
#[cfg(feature = "hazmat")]
23+
use signature::rand_core::CryptoRng;
2224
use signature::{
23-
DigestSigner, RandomizedDigestSigner, Signer,
2425
hazmat::{PrehashSigner, RandomizedPrehashSigner},
25-
rand_core::{CryptoRng, TryCryptoRng},
26+
rand_core::TryCryptoRng,
27+
DigestSigner, RandomizedDigestSigner, Signer,
2628
};
2729
use zeroize::{Zeroize, Zeroizing};
2830

0 commit comments

Comments
 (0)