初期化、終了処理の成功時に返す 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:
kubodera_yuichi 2009-12-23 07:14:44 +00:00
parent 43421e0d68
commit 93975b9029
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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の処理結果によるエラーコード