Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #2444. Clients may send an empty passphrase, especially if they do not do as the mainline client and generate a random one to substitute in the .pbl. An empty string is still hashable, but the server is really not supposed to allow an empty passphrase so we should just reject those. It's also a good warning sign against broken clients -- like wesnoth_addon_manager right now.
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters