diff options
author | Edoardo Morandi <morandidodo@gmail.com> | 2020-12-04 15:55:55 +0100 |
---|---|---|
committer | Edoardo Morandi <morandidodo@gmail.com> | 2020-12-04 15:55:55 +0100 |
commit | 243d9f94e6b4eba1fb890b22d505d3023003570b (patch) | |
tree | a4f718790705881900832cc3ca2a989c24fe07b3 | |
parent | acfda134eab8049940a5fe04fba5f34a0e0dab7b (diff) | |
download | rust-openssl-243d9f94e6b4eba1fb890b22d505d3023003570b.zip |
Fix compilation with old compiler
-rw-r--r-- | openssl/src/encrypt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/encrypt.rs b/openssl/src/encrypt.rs index 909bf6bd..9d524690 100644 --- a/openssl/src/encrypt.rs +++ b/openssl/src/encrypt.rs @@ -309,7 +309,7 @@ mod test { let decoded_len = decrypter.decrypt(&encoded, &mut decoded).unwrap(); let decoded = &decoded[..decoded_len]; - assert_eq!(decoded, input); + assert_eq!(decoded, &*input); } #[test] @@ -337,6 +337,6 @@ mod test { let decoded_len = decrypter.decrypt(&encoded, &mut decoded).unwrap(); let decoded = &decoded[..decoded_len]; - assert_eq!(decoded, input); + assert_eq!(decoded, &*input); } } |