http://bugs.winehq.org/show_bug.cgi?id=60234 Bug ID: 60234 Summary: crypt32: PFXImportCertStore does not set ERROR_INVALID_PASSWORD on a wrong password Product: Wine Version: 11.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: crypt32 Assignee: wine-bugs@list.winehq.org Reporter: nayuta65535@gmail.com Target Milestone: --- Distribution: --- When PFXImportCertStore is given the wrong password it correctly returns NULL, but does not set a last error, so the caller cannot tell why the import failed. Windows: returns NULL, GetLastError() == ERROR_INVALID_PASSWORD (0x56) Wine: returns NULL, GetLastError() unchanged from before the call Tested on an unmodified wine-11.16 build (fresh prefix, no DLL overrides) against Windows 11 on the same machine, using the same binary. Reproduce with any PKCS#12 blob and a deliberately wrong password. -- 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.