Kees Cook kees@outflux.net writes:
ChangeLog: Create basic test suite for CryptProtectData/CryptUnprotectData.
The tests fail here:
../../../tools/runtest -q -P wine -M crypt32.dll -T ../../.. -p crypt32_test.exe.so protectdata.c && touch protectdata.ok err:crypt:CryptProtectData CryptAcquireContextW failed protectdata.c:89: Test failed: Encrypting without entropy. protectdata.c:91: Test failed: Wrong (2148073494) GetLastError seen err:crypt:CryptProtectData CryptAcquireContextW failed protectdata.c:99: Test failed: Encrypting with entropy. protectdata.c:101: Test failed: Wrong (2148073494) GetLastError seen err:crypt:CryptProtectData CryptAcquireContextW failed protectdata.c:111: Test failed: Encrypting with entropy and no description. protectdata.c:113: Test failed: Wrong (2148073494) GetLastError seen protectdata.c:127: Test failed: CryptProtectData failed to run, so I can't test its output make[3]: *** [protectdata.ok] Error 7