From f17ee5987f9546a88670ada8f32c18bbee3f7b13 Mon Sep 17 00:00:00 2001 From: "giantpune@gmail.com" Date: Thu, 28 Apr 2011 22:35:29 +0000 Subject: [PATCH] oops git-svn-id: http://wiiqt.googlecode.com/svn/trunk@79 389f4c8b-5dfe-645f-db0e-df882bc27289 --- nandBinCheck/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nandBinCheck/main.cpp b/nandBinCheck/main.cpp index 601a16b..989e37c 100644 --- a/nandBinCheck/main.cpp +++ b/nandBinCheck/main.cpp @@ -712,14 +712,14 @@ bool CheckTitleIntegrity( quint64 tid ) } else { + Ticket ticket( ba, false ); + if( ticket.Tid() != tid ) + { + qWarning() << "\tthe ticket contains the wrong TID"; + return false; + } if( calcRsa ) { - Ticket ticket( ba, false ); - if( ticket.Tid() != tid ) - { - qWarning() << "\tthe ticket contains the wrong TID"; - return false; - } int tikVersions = ba.size() / 0x2a4; qint32 ch = ERROR_RSA_TYPE_UNKNOWN; bool ok = false;