Skip to content

Commit 7cbbccf

Browse files
committed
Update for upstream changes
1 parent 0aac822 commit 7cbbccf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,8 @@ impl InnerPostgresConnection {
545545
let hasher = Hasher::new(MD5);
546546
hasher.update(output.as_bytes());
547547
hasher.update(salt);
548-
let output = "md5" + hasher.final().as_slice().to_hex();
548+
let output = format_strbuf!("md5{}",
549+
hasher.final().as_slice().to_hex());
549550
try_pg_conn!(self.write_messages([PasswordMessage {
550551
password: output.as_slice()
551552
}]));

0 commit comments

Comments
 (0)