summaryrefslogtreecommitdiffstats
path: root/openpgp/src/symmetric.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/symmetric.rs')
-rw-r--r--openpgp/src/symmetric.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/symmetric.rs b/openpgp/src/symmetric.rs
index ea832007..9063a600 100644
--- a/openpgp/src/symmetric.rs
+++ b/openpgp/src/symmetric.rs
@@ -53,7 +53,7 @@ impl SymmetricAlgorithm {
/// Creates a Nettle context for encrypting in CFB mode.
pub fn make_encrypt_cfb(self, key: &[u8]) -> Result<Box<Mode>> {
- use nettle::{mode,cipher};
+ use nettle::{mode, cipher};
match self {
SymmetricAlgorithm::TripleDES =>
Ok(Box::new(
@@ -88,7 +88,7 @@ impl SymmetricAlgorithm {
/// Creates a Nettle context for decrypting in CFB mode.
pub fn make_decrypt_cfb(self, key: &[u8]) -> Result<Box<Mode>> {
- use nettle::{mode,cipher};
+ use nettle::{mode, cipher};
match self {
SymmetricAlgorithm::TripleDES =>
Ok(Box::new(