Re: crypt32: Implement CertAddEncodedCertificateToSystemStoreA/W

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: crypt32: Implement CertAddEncodedCertificateToSystemStoreA/W

by Stefan Leichter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Tuesday 03 November 2009 23:32:42 schrieb Juan Lang:
> These were too easy to pass up.
> --Juan

+BOOL WINAPI CertAddEncodedCertificateToSystemStoreW(LPCWSTR pszCertStoreName,
+ const BYTE *pbCertEncoded, DWORD cbCertEncoded)
+{
[snip]
+    store = CertOpenSystemStoreA(0, pszCertStoreName);

This looks wrong to me ...

Bye Stefan



Re: crypt32: Implement CertAddEncodedCertificateToSystemStoreA/W

by Juan Lang-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> +    store = CertOpenSystemStoreA(0, pszCertStoreName);
>
> This looks wrong to me ...

To me too :)  Thanks!
--Juan