We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f19d9 commit 3c2394fCopy full SHA for 3c2394f
2 files changed
src/lib.rs
@@ -530,11 +530,11 @@ impl InnerPostgresConnection {
530
let input = pass + user;
531
let hasher = Hasher::new(MD5);
532
hasher.update(input.as_bytes());
533
- let output = hasher.final().to_hex();
+ let output = hasher.final().as_slice().to_hex();
534
535
hasher.update(output.as_bytes());
536
hasher.update(salt);
537
- let output = "md5" + hasher.final().to_hex();
+ let output = "md5" + hasher.final().as_slice().to_hex();
538
try_pg_conn!(self.write_messages([PasswordMessage {
539
password: output.as_slice()
540
}]));
submodules/rust-openssl
0 commit comments