Files
sys/windows
Boshi Lian 5fcd21d889 windows: correct CertOpenStore to expect a 0 return value on failure
According to [1], this function returns NULL when it errors, rather than
INVALID_HANDLE_VALUE, which other Win32 functions return. Quick reversing
indicates that [1] is correct, as there's a xor eax, eax in the error
paths of the function just before jumping to the epilogue.

[1] https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certopenstore#return-value
2020-11-29 04:52:08 -08:00
..
2017-10-25 20:39:07 +00:00
2017-10-25 20:39:07 +00:00