crypt32: CryptUnprotectData: test zero-length payload

Dan Kegel dank at kegel.com
Tue Oct 27 20:40:31 CDT 2009


Passes on Vista and on Wine (with one todo_wine).
Exposes http://bugs.winehq.org/show_bug.cgi?id=20495

(Note: 'make crosstest' doesn't work stunningly well in
crypt32 for me -- there were lots of undefined symbols --
but fortunately the file this test is in compiles ok standalone.
Had to use LoadLibrary rather than GetModuleHandle,
else it failed to run standalone.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zero.patch
Type: text/x-patch
Size: 1960 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091027/9d8c2b52/attachment.bin>


More information about the wine-patches mailing list