Commit a7534610 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix return value (clang).

parent fc38254f
......@@ -472,9 +472,11 @@ BOOL WINAPI CertGetCRLContextProperty(PCCRL_CONTEXT pCRLContext,
ret = CertGetStoreProperty(pCRLContext->hCertStore, dwPropId,
pvData, pcbData);
else
{
*(DWORD *)pvData = 0;
ret = TRUE;
}
}
break;
default:
ret = CRLContext_GetProperty(pCRLContext, dwPropId, pvData,
......
......@@ -605,9 +605,11 @@ BOOL WINAPI CertGetCTLContextProperty(PCCTL_CONTEXT pCTLContext,
ret = CertGetStoreProperty(pCTLContext->hCertStore, dwPropId,
pvData, pcbData);
else
{
*(DWORD *)pvData = 0;
ret = TRUE;
}
}
break;
default:
ret = CTLContext_GetProperty(pCTLContext, dwPropId, pvData,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment