GetErrorInfoに対してSetErrorInfoとした

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@50 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
kubodera_yuichi 2009-12-23 05:36:05 +00:00
parent a588080692
commit 262a241910
2 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ extern int GetTimestamp( u8 *pYear, u8 *pMonth, u8 *pMday, u8 *pHour, u8 *pMin,
extern int GenerateRandom( u8 *pDst, int length );
extern int GenarateECCKeyPair( EC_KEY **ppECkey, u8 *pECPrivkey );
extern void StoreErrorInfo( s32 errorCode, char *fileName, u32 line );
extern void SetErrorInfo( s32 errorCode, char *fileName, u32 line );
extern void GetErrorInfo( s32 *errorCode, char *fileName, u32 *line );
extern int TestECDSA( EC_KEY *pECkey );

View File

@ -235,8 +235,8 @@ int GenerateRandom( u8 *pDst, int length )
return ret_code;
}
// エラー情報を記録する
void StoreErrorInfo( s32 errorCode, char fileName[], u32 line )
// エラー情報の記録
void SetErrorInfo( s32 errorCode, char fileName[], u32 line )
{
static u8 stored = 0;
@ -258,7 +258,7 @@ void StoreErrorInfo( s32 errorCode, char fileName[], u32 line )
#endif
} // StoreErrorInfo
// エラー情報を引数にセットする
// エラー情報の取得
void GetErrorInfo( s32 *errorCode, char *fileName, u32 *line )
{
*errorCode = errorInfo.errorCode;