Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check whether we have a matching client challenge to prevent connecti…
…on hi-jacking.
- Loading branch information
Showing
1 changed file
with
31 additions
and
14 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
09af89b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extra argument is only necessary if you implement the other side too :)
https://github.com/JACoders/OpenJK/blob/master/codemp/server/server.h#L198-L218
And all challenge related changes in this file: https://github.com/JACoders/OpenJK/blob/master/codemp/server/sv_client.cpp
09af89b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks