We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aac822 commit 7cbbccfCopy full SHA for 7cbbccf
1 file changed
src/lib.rs
@@ -545,7 +545,8 @@ impl InnerPostgresConnection {
545
let hasher = Hasher::new(MD5);
546
hasher.update(output.as_bytes());
547
hasher.update(salt);
548
- let output = "md5" + hasher.final().as_slice().to_hex();
+ let output = format_strbuf!("md5{}",
549
+ hasher.final().as_slice().to_hex());
550
try_pg_conn!(self.write_messages([PasswordMessage {
551
password: output.as_slice()
552
}]));
0 commit comments