cleanup
This commit is contained in:
@@ -111,7 +111,6 @@ bool CryptManager::VerifyFileWithFile( CString sPath, CString sSignatureFile )
|
||||
return false;
|
||||
|
||||
try {
|
||||
/* XXX: This is opening sPubFilename for RageFile::WRITE instead of READ. */
|
||||
RageFileSource pubFile(sPubFilename, true);
|
||||
RSASSA_PKCS1v15_SHA_Verifier pub(pubFile);
|
||||
|
||||
@@ -142,9 +141,6 @@ bool CryptManager::Verify( CString sPath, CString sSignature )
|
||||
if( !IsAFile(sPubFilename) )
|
||||
return false;
|
||||
|
||||
// CAREFUL: These classes can throw all kinds of exceptions. Should this
|
||||
// be wrapped in a try catch?
|
||||
|
||||
try {
|
||||
RageFileSource pubFile(sPubFilename, true);
|
||||
RSASSA_PKCS1v15_SHA_Verifier pub(pubFile);
|
||||
|
||||
Reference in New Issue
Block a user