crypt32: Fix return value (clang).

This commit is contained in:
Juan Lang 2011-02-15 11:10:52 -08:00 committed by Alexandre Julliard
parent fc38254fed
commit a7534610a3
2 changed files with 6 additions and 2 deletions

View File

@ -472,8 +472,10 @@ BOOL WINAPI CertGetCRLContextProperty(PCCRL_CONTEXT pCRLContext,
ret = CertGetStoreProperty(pCRLContext->hCertStore, dwPropId,
pvData, pcbData);
else
{
*(DWORD *)pvData = 0;
ret = TRUE;
ret = TRUE;
}
}
break;
default:

View File

@ -605,8 +605,10 @@ BOOL WINAPI CertGetCTLContextProperty(PCCTL_CONTEXT pCTLContext,
ret = CertGetStoreProperty(pCTLContext->hCertStore, dwPropId,
pvData, pcbData);
else
{
*(DWORD *)pvData = 0;
ret = TRUE;
ret = TRUE;
}
}
break;
default: