[PATCH] crypt32/tests: Add CryptBinaryToStringW test

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Feb 23 01:11:38 CST 2018


Hi Nikolay,

18 6:36 AM, Alistair Leslie-Hughes wrote:
> +    int size = 16656;

>  Why this size? Is it reproducible with smaller buffer?
This just happens to the size of the image I was embedding into a html file.
I had two other images that failure as well and from memory they where bigger.
As a test, I subtracted 2 from all the value returned in CryptBinaryToStringW
and nothing failed.  So, I'm guessing a smaller size would cause the issue as well.

>I think this should test actual output, matching length alone is not enough.
Sure, however I don't have a problem with the data itself just the size returned.

Best Regards
 Alistair.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180223/d447c6da/attachment.html>


More information about the wine-devel mailing list