Skip to content
Permalink
Browse files

Only load RSA keys once during CL_Init

Fixes #675
  • Loading branch information...
DolceTriade committed May 4, 2015
1 parent 0f1d7da commit 8b4f2c288f3865be2af82fb601c485cd034fe777
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/engine/client/cl_main.cpp
@@ -2623,7 +2623,6 @@ void CL_CheckForResend()
{
char key[ RSA_STRING_LENGTH ];

CL_LoadRSAKeys();
mpz_get_str( key, 16, public_key.n);
// sending back the challenge
port = Cvar_VariableValue( "net_qport" );
@@ -3922,6 +3921,8 @@ void CL_Init()

CL_IRCSetup();

CL_LoadRSAKeys();

//
// register our variables
//

0 comments on commit 8b4f2c2

Please sign in to comment.
You can’t perform that action at this time.