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

crypt32: Fix return value (clang).

parent fc38254f
......@@ -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:
......
......@@ -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:
......
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