http://bugs.winehq.org/show_bug.cgi?id=20495
Summary: CryptUnprotectData can't handle zero-length payloads (affects chromium unit_tests) Product: Wine Version: 1.1.32 Platform: PC OS/Version: Linux Status: NEW Keywords: download, testcase Severity: normal Priority: P2 Component: crypt32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Noticed as follows: wget http://kegel.com/wine/chromium/chromium-tests.tar.bz2 tar -xjvf ../chromium-tests.tar.bz2 wine src/chrome/Debug/unit_tests.exe --gtest_filter=EncryptorTest.EncryptionDecryption
This fails with [ RUN ] EncryptorTest.EncryptionDecryption .\browser\password_manager\encryptor_unittest.cc(62): error: Value of: Encryptor::DecryptString(ciphertext, &result) Actual: false Expected: true [ FAILED ] EncryptorTest.EncryptionDecryption (4 ms)
This test case seems to check a corner case that wine doesn't handle (zero-length payload). I'll send a conformance test.