allow using CryptManager without generating global keys; remove CryptMan dependency on PrefsMan

This commit is contained in:
Glenn Maynard
2007-01-31 05:31:25 +00:00
parent bf3aad4f45
commit d401a01553
3 changed files with 6 additions and 3 deletions
+2
View File
@@ -1036,6 +1036,8 @@ int main(int argc, char* argv[])
if( !GetCommandlineArgument("ExportNsisStrings") && !GetCommandlineArgument("ExportLuaInformation") )
SONGMAN->InitAll( pLoadingWindow ); // this takes a long time
CRYPTMAN = new CryptManager; // need to do this before ProfileMan
if( PREFSMAN->m_bSignProfileData )
CRYPTMAN->GenerateGlobalKeys();
MEMCARDMAN = new MemoryCardManager;
CHARMAN = new CharacterManager;
PROFILEMAN = new ProfileManager;