[PATCH] crypt32: Add support for PFX objects in CryptQueryObject.
Hans Leidekker
hans at codeweavers.com
Fri Feb 1 08:57:26 CST 2019
On Fri, 2019-02-01 at 22:50 +0800, Dmitry Timoshkov wrote:
> Hans Leidekker <hans at codeweavers.com> wrote:
>
>
> > + switch (dwObjectType)
> > + {
> > + case CERT_QUERY_OBJECT_FILE:
> > + if (!CRYPT_ReadBlobFromFile(pvObject, &blob)) return FALSE;
> > + ptr = &blob;
> > + break;
> > +
> > + case CERT_QUERY_OBJECT_BLOB:
> > + ptr = (CRYPT_DATA_BLOB *)pvObject;
> > + break;
> > +
> > + default:
> > + return FALSE;
> > + }
>
> Is it worth a FIXME for an unhandled case?
I decided against that because these are the only 2 supported types
according to MSDN. And since this API is deprecated I don't expect new
values to be added.
More information about the wine-devel
mailing list