|
|
@@ -358,7 +358,6 @@ int CIDCertFSM::ReadInfo(SpReqAnsContext<IDCert_Read_Req, IDCert_Read_Ans>::Poin
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- Dbg("372");
|
|
|
bOpenRF = true;
|
|
|
Sleep(IDCER_AUTH_INTERVAL);
|
|
|
hr = m_hDevHelper->IDCerAuthenticate();
|
|
|
@@ -1053,7 +1052,7 @@ ErrorCodeEnum CIDCertFSM::DeleteFileIfExisted(LPCTSTR fileName)
|
|
|
ErrorCodeEnum erroCode = m_pEntity->GetFunction()->GetPath("Dep", strPath);
|
|
|
strAimPath = strPath + SPLIT_SLASH_STR + fileName;
|
|
|
|
|
|
- if(ExistsDirA((LPCTSTR)strAimPath))
|
|
|
+ if(ExistsFileA((LPCTSTR)strAimPath))
|
|
|
{
|
|
|
if(RemoveFileA((LPCTSTR)strAimPath))
|
|
|
{
|