create keypair on startup if one doesn't already exist

This commit is contained in:
Chris Danford
2004-02-15 05:45:18 +00:00
parent 0667124940
commit 5cc79c5f2b
7 changed files with 63 additions and 23 deletions
+3 -1
View File
@@ -32,7 +32,6 @@
#include "SDL_utils.h"
#include "CodeDetector.h"
#include "CryptManager.h"
//
// StepMania global classes
@@ -59,6 +58,7 @@
#include "Bookkeeper.h"
#include "LightsManager.h"
#include "ModelManager.h"
#include "CryptManager.h"
#if defined(_XBOX)
@@ -960,6 +960,7 @@ int main(int argc, char* argv[])
/* depends on SONGINDEX: */
SONGMAN = new SongManager( loading_window ); // this takes a long time to load
CRYPTMAN = new CryptManager; // need to do this before ProfileMan
MEMCARDMAN = new MemoryCardManager;
PROFILEMAN = new ProfileManager; // must load after SONGMAN
UNLOCKSYS = new UnlockSystem;
@@ -1044,6 +1045,7 @@ int main(int argc, char* argv[])
SAFE_DELETE( UNLOCKSYS );
SAFE_DELETE( MODELMAN );
SAFE_DELETE( PROFILEMAN ); // PROFILEMAN needs the songs still loaded
SAFE_DELETE( CRYPTMAN );
SAFE_DELETE( MEMCARDMAN );
SAFE_DELETE( SONGMAN );
SAFE_DELETE( BANNERCACHE );