Skip to content

Commit 3c2394f

Browse files
committed
Update for ~[T] changes
1 parent 81f19d9 commit 3c2394f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,11 +530,11 @@ impl InnerPostgresConnection {
530530
let input = pass + user;
531531
let hasher = Hasher::new(MD5);
532532
hasher.update(input.as_bytes());
533-
let output = hasher.final().to_hex();
533+
let output = hasher.final().as_slice().to_hex();
534534
let hasher = Hasher::new(MD5);
535535
hasher.update(output.as_bytes());
536536
hasher.update(salt);
537-
let output = "md5" + hasher.final().to_hex();
537+
let output = "md5" + hasher.final().as_slice().to_hex();
538538
try_pg_conn!(self.write_messages([PasswordMessage {
539539
password: output.as_slice()
540540
}]));

submodules/rust-openssl

Submodule rust-openssl updated from f6ce65c to cfc7931

0 commit comments

Comments
 (0)