git-svn-id: http://wiiqt.googlecode.com/svn/trunk@79 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
giantpune@gmail.com 2011-04-28 22:35:29 +00:00
parent ff8c2e9751
commit f17ee5987f

View File

@ -711,8 +711,6 @@ bool CheckTitleIntegrity( quint64 tid )
} }
} }
else else
{
if( calcRsa )
{ {
Ticket ticket( ba, false ); Ticket ticket( ba, false );
if( ticket.Tid() != tid ) if( ticket.Tid() != tid )
@ -720,6 +718,8 @@ bool CheckTitleIntegrity( quint64 tid )
qWarning() << "\tthe ticket contains the wrong TID"; qWarning() << "\tthe ticket contains the wrong TID";
return false; return false;
} }
if( calcRsa )
{
int tikVersions = ba.size() / 0x2a4; int tikVersions = ba.size() / 0x2a4;
qint32 ch = ERROR_RSA_TYPE_UNKNOWN; qint32 ch = ERROR_RSA_TYPE_UNKNOWN;
bool ok = false; bool ok = false;