diff options
Diffstat (limited to 'openpgp/src/message')
-rw-r--r-- | openpgp/src/message/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs index 572a812e..8b7f96a5 100644 --- a/openpgp/src/message/mod.rs +++ b/openpgp/src/message/mod.rs @@ -893,7 +893,7 @@ mod tests { packets.push(SKESK::new(SymmetricAlgorithm::AES256, S2K::Simple { hash: HashAlgorithm::SHA256 }, &sk, - &b"12345678"[..]).unwrap().to_packet()); + &"12345678".into()).unwrap().to_packet()); let message = Message::from_packets(packets.clone()); assert!(message.is_err(), "{:?}", message); |