1 Feb
2019
1 Feb
'19
5:57 p.m.
On Fri, 2019-02-01 at 22:50 +0800, Dmitry Timoshkov wrote:
Hans Leidekker <hans(a)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.