1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 03:09:13 +00:00

Move half of the Challenge Hash stuff.

This commit is contained in:
Darryl Pogue
2012-02-12 01:19:22 -08:00
parent 1b22f044f0
commit 4a1b36b284
11 changed files with 172 additions and 84 deletions

View File

@ -52,6 +52,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnNetCli/pnNetCli.h"
#include "plNetGameLib/plNetGameLib.h"
#include "pnIni/pnIni.h"
#include "pnEncryption/plChallengeHash.h"
#include "plMessage/plNetCommMsgs.h"
#include "plMessage/plNetClientMgrMsg.h"
@ -775,7 +776,7 @@ static void IReadNetIni() {
L""
);
CryptHashPassword(s_iniAccountUsername, password, &s_namePassHash);
CryptHashPassword(_TEMP_CONVERT_FROM_WCHAR_T(s_iniAccountUsername), _TEMP_CONVERT_FROM_WCHAR_T(password), s_namePassHash);
}
else {
StrCopy(s_iniStartupAgeName, L"StartUp", arrsize(s_iniStartupAgeName));