Skip to content

Commit 5dc9e7c

Browse files
committed
fix one more comment
Signed-off-by: lance6716 <[email protected]>
1 parent 8bc34ec commit 5dc9e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ func stage1FromReply(scramble []byte, seed []byte, stage2 []byte) []byte {
7474
return Xor(scramble, seededHash)
7575
}
7676

77-
// FROM vitess.io/vitess/go/mysql/auth_server.go
7877
// DecodePasswordHex decodes the standard format used by MySQL
7978
// Password hashes in the 4.1 format always begin with a * character
8079
// see https://dev.mysql.com/doc/mysql-security-excerpt/5.7/en/password-hashing.html
80+
// ref vitess.io/vitess/go/mysql/auth_server.go
8181
func DecodePasswordHex(hexEncodedPassword string) ([]byte, error) {
8282
if hexEncodedPassword[0] == '*' {
8383
hexEncodedPassword = hexEncodedPassword[1:]

0 commit comments

Comments
 (0)