From 09ad713d2011ab84d245ee92d3f2c0a346a83b69 Mon Sep 17 00:00:00 2001
From: Lireer <carl.scherer@49nord.de>
Date: Mon, 9 Nov 2020 17:04:45 +0100
Subject: [PATCH] update crypto dependencies

---
 Cargo.toml     | 8 ++++----
 src/aes_ctr.rs | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 42b560f4..1d02bd3d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,15 +11,15 @@ Library to support the reading and writing of zip files.
 edition = "2018"
 
 [dependencies]
-aes = { version = "0.5.0", optional = true }
+aes = { version = "0.6.0", optional = true }
 byteorder = "1.3"
 bzip2 = { version = "0.4", optional = true }
 constant_time_eq = { version = "0.1.5", optional = true }
 crc32fast = "1.0"
 flate2 = { version = "1.0.0", default-features = false, optional = true }
-hmac = {version = "0.9.0", optional = true }
-pbkdf2 = {version = "0.5.0", optional = true }
-sha-1 = {version = "0.9.1", optional = true }
+hmac = {version = "0.10.1", optional = true }
+pbkdf2 = {version = "0.6.0", optional = true }
+sha-1 = {version = "0.9.2", optional = true }
 thiserror = "1.0"
 time = { version = "0.1", optional = true }
 
diff --git a/src/aes_ctr.rs b/src/aes_ctr.rs
index c0391277..f5d5f7cf 100644
--- a/src/aes_ctr.rs
+++ b/src/aes_ctr.rs
@@ -4,7 +4,7 @@
 //! different byte order (little endian) than NIST (big endian).
 //! See [AesCtrZipKeyStream](./struct.AesCtrZipKeyStream.html) for more information.
 
-use aes::block_cipher::generic_array::GenericArray;
+use aes::cipher::generic_array::GenericArray;
 use aes::{BlockCipher, NewBlockCipher};
 use byteorder::WriteBytesExt;
 use std::{any, fmt};