From 8018ac94e510b461c70acd5471baf831b5aefeed Mon Sep 17 00:00:00 2001 From: sato_masaki Date: Thu, 17 Apr 2008 13:27:27 +0000 Subject: [PATCH] =?UTF-8?q?=E7=84=A1=E7=B7=9A=E3=83=95=E3=82=A1=E3=83=BC?= =?UTF-8?q?=E3=83=A0=E3=81=AE=E7=BD=B2=E5=90=8D=E3=83=81=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=82=AF=E5=A4=B1=E6=95=97=E3=82=92=E7=84=A1=E8=A6=96=E3=81=95?= =?UTF-8?q?=E3=81=9B=E3=82=8B=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0(=E3=83=87=E3=83=95=E3=82=A9?= =?UTF-8?q?=E3=83=AB=E3=83=88=E3=81=AF=E7=84=A1=E5=8A=B9)=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1177 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/Launcher/ARM9/src/loadWlanFirm.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/systemMenu_RED/Launcher/ARM9/src/loadWlanFirm.c b/build/systemMenu_RED/Launcher/ARM9/src/loadWlanFirm.c index 65982aaf..3f29292b 100644 --- a/build/systemMenu_RED/Launcher/ARM9/src/loadWlanFirm.c +++ b/build/systemMenu_RED/Launcher/ARM9/src/loadWlanFirm.c @@ -32,6 +32,8 @@ definitions */ +#define IGNORE_SIGN_ERROR 0 + /* LCFGの無線ファームバージョンをタイトルIDとしてそのまま使う場合 */ #define USE_LCFG_STRING 0 @@ -258,14 +260,21 @@ BOOL VerifyWlanfirmSignature(u8* buffer, u32 length) if (FALSE == SVC_DecryptSign( &rctx, signDigest, (const void*)pSign, (const void*)pPubkey )) { OS_TPrintf("[Wlan Firm] Wlan Firmware authentication has failed.\n"); + +#if (IGNORE_SIGN_ERROR == 1) + /* continue verifying process even though decryption fails in the case of bonding option = 0x01 (support ARM9/ARM7) */ if (!( HWi_WSYS08_OP_OP0_MASK == SCFG_ReadBondingOption() )) { +#endif SYSM_Free(signHeap); return FALSE; + +#if (IGNORE_SIGN_ERROR == 1) } OS_TPrintf("[Wlan Firm] But installation continues.\n"); +#endif } SYSM_Free(signHeap);