ifdef抜けの修正 その2

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@26 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
kubodera_yuichi 2009-12-22 06:39:30 +00:00
parent 33621db72c
commit 29db6706ca

View File

@ -246,7 +246,13 @@ void hsm_finalize( void )
{
RQCard_fips_free( &hsmCard, &hsmFips );
RQCard_destroy( &hsmCard );
#ifdef ENCRYPT_AES
NFKM_freekey( hsmHandle, hsmAeskeyinfo, NULL );
#else // !ENCRYPT_AES
NFKM_freekey( hsmHandle, hsmRsakeyinfo, NULL );
#endif // ENCRYPT_AES
NFKM_freeinfo( hsmHandle, &hsmWorld, NULL );
NFastApp_Disconnect( hsmConnection, NULL );
NFastApp_Finish( hsmHandle, NULL );