crypt32.dll: Initialize provider pointer to null before calling CryptAcquireContextW()
Paul Chitescu
paulc at voip.null.ro
Thu Nov 5 05:14:52 CST 2009
On Wednesday 04 November 2009 11:45:38 pm Juan Lang wrote:
> Hi Paul,
>
> I imagine this is to avoid checking prov if CryptAcquireContextW
> fails. In that case, wouldn't it be better to check the return value
> of CryptAcquireContextW?
> --Juan
Checking the return value of CryptAcquireContextW() is also possible but I
took the path of minimal change in the source.
Besides, I consider passing pointers to uninitialized variables a bad
programming practice.
Paul
More information about the wine-devel
mailing list