Skip to content

Commit 54a0ccc

Browse files
committed
Fix wrong merging of SCRAM
1 parent aea1acc commit 54a0ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ CheckMD5Auth(Port *port, char **logdetail)
722722
return STATUS_ERROR;
723723
}
724724

725-
sendAuthRequest(port, AUTH_REQ_MD5, NULL, 0);
725+
sendAuthRequest(port, AUTH_REQ_MD5, port->md5Salt, 4);
726726
return recv_and_check_password_packet(port, logdetail);
727727
}
728728

0 commit comments

Comments
 (0)