Skip to content

Conversation

julienschmidt
Copy link
Member

Allows the insecure old password authentication method when the DSN param allowOldPasswords=1 is explicitly set.
https://github.com/go-sql-driver/mysql/wiki/old_passwords

utils.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not like this?

return &myRnd{
    seed1: seed1 % myRndMaxVal,
    seed2: seed2 % myRndMaxVal,
}

@julienschmidt
Copy link
Member Author

PTAL

@arnehormann
Copy link
Member

LGTM

julienschmidt added a commit that referenced this pull request Sep 15, 2013
@julienschmidt julienschmidt merged commit f4bf8e8 into master Sep 15, 2013
@julienschmidt julienschmidt deleted the old_passwords_support branch September 15, 2013 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants