mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
初期化、終了処理の成功時に返す CR_GENID_INITIALIZE_OK, CR_GENID_FINALIZE_OK を追加
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@62 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
parent
43421e0d68
commit
93975b9029
@ -145,8 +145,7 @@ int cr_generate_id_initialize( void )
|
||||
}
|
||||
#endif
|
||||
|
||||
// TODO: エラーコードを決める
|
||||
ret_code = 1;
|
||||
ret_code = CR_GENID_INITIALIZE_OK;
|
||||
|
||||
return ( ret_code );
|
||||
} // cr_generate_id_initialize
|
||||
@ -167,8 +166,7 @@ int cr_generate_id_finalize( void )
|
||||
hsm_finalize();
|
||||
#endif // USE_HSM
|
||||
|
||||
// TODO: エラーコードを決める
|
||||
ok = 1;
|
||||
ok = CR_GENID_FINALIZE_OK;
|
||||
|
||||
return ( ok );
|
||||
} // cr_generate_id_finalize
|
||||
|
||||
@ -113,7 +113,9 @@
|
||||
#define _CR_GENERATE_ID_H_
|
||||
|
||||
// 成功
|
||||
#define CR_GENID_SUCCESS 0
|
||||
#define CR_GENID_SUCCESS ( 0)
|
||||
#define CR_GENID_INITIALIZE_OK (1000)
|
||||
#define CR_GENID_FINALIZE_OK (1001)
|
||||
|
||||
//---------------------------------------------------
|
||||
// OpenSSLの処理結果によるエラーコード
|
||||
|
||||
Loading…
Reference in New Issue
Block a user