http://bugs.winehq.org/show_bug.cgi?id=16365 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #46494|0 |1 is obsolete| | --- Comment #17 from Anastasius Focht <focht(a)gmx.net> 2013-11-13 02:42:00 CST --- Created attachment 46509 --> http://bugs.winehq.org/attachment.cgi?id=46509 C application to decrypt game files Hello Dmitry, --- quote --- The 4th parameter of CryptDeriveKey is flags, not the length of some kind. Probably it should be CRYPT_CREATE_SALT (0x0004) if strlen("1111") works by a pure luck :) --- quote --- sure ... that happens when copy/paste relay trace log snippets into a text file and transforming into C code :) Like: "(..., 00000004, ...) hmm, let's see ... (looks at previous call) ... that might be the string length of passwd (skips MSDN lookup) ..." and then things sneak in :) Attached a new version with minor correction, thanks. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.