Skip to content

Commit 6f2211c

Browse files
committed
Reintroduce the unpaderror for PkEncryption as well
1 parent 3231d97 commit 6f2211c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pk_encryption.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
4949
use aes::cipher::{
5050
BlockModeDecrypt, BlockModeEncrypt, KeyIvInit,
51-
block_padding::{Pkcs7, UnpadError},
51+
block_padding::{Error as UnpadError, Pkcs7},
5252
};
5353
use hmac::{KeyInit as _, Mac as _, digest::MacError};
5454
use matrix_pickle::{Decode, Encode};

0 commit comments

Comments
 (0)