[PATCH] make CarbonPoker (previously Poker.com) client work.
Juan Lang
juan_lang at yahoo.com
Tue Feb 6 10:38:24 CST 2007
Hi Trent, thanks for the patches. Please send the split up patches to
wine-patches instead of wine-devel. The crypt32 patches won't make it in
as-is, but I think you can get a better quality hack accepted.
As MSDN states, CryptGetMessageCertificates is just a wrapper around
CertOpenStore. So you could write something like the following:
HCERTSTORE WINAPI CryptGetMessageCertificates(
DWORD dwMsgAndCertEncodingType,
HCRYPTPROV hCryptProv, DWORD dwFlags, const BYTE* pbSignedBlob,
DWORD cbSignedBlob)
{
CRYPT_DATA_BLOB blob = { cbSignedBlob, (LPBYTE)pbSignedBlob };
TRACE("%d, %p, %d, %p, %d\n",
dwMsgAndCertEncodingType, hCryptProv, dwFlags, pbSignedBlob,
cbSignedBlob);
return CertOpenStore(CERT_STORE_PROV_PKCS7, dwMsgAndCertEncodingType,
hCryptProv, dwFlags, &blob);
}
Then in store.c, add a stub function for opening and closing PKCS7 stores
- look at CRYPT_PhysOpenStore for an example.
Cheers,
--Juan
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
More information about the wine-devel
mailing list