sign all files in a profile

make RageFile filters for use with Crypt++
This commit is contained in:
Chris Danford
2004-02-15 04:47:32 +00:00
parent e80e0a2a25
commit 3d69b6e0ec
12 changed files with 496 additions and 131 deletions
+2 -8
View File
@@ -32,7 +32,7 @@
#include "SDL_utils.h"
#include "CodeDetector.h"
#include "CryptHelpers.h"
#include "CryptManager.h"
//
// StepMania global classes
@@ -1131,14 +1131,8 @@ bool SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature )
return false;
}
//
// Write a signature
//
if( bMakeSignature )
{
CString sSignaturePath = sScreenshotPath + ".sig.rsa";
RSASignFile( "private.rsa", sScreenshotPath, sSignaturePath);
}
CryptManager::SignFile( sScreenshotPath );
return bResult;
}