From 5674ca2e4e80f30930170fd614c8441088b63ed8 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Wed, 25 Jul 2007 18:11:31 -0700 Subject: [PATCH] crypt32: Don't check tag in CRYPT_DecodeDERArray, caller already does. --- dlls/crypt32/decode.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c index 7281b15a059..f66ae858aef 100644 --- a/dlls/crypt32/decode.c +++ b/dlls/crypt32/decode.c @@ -1847,9 +1847,8 @@ static BOOL WINAPI CRYPT_DecodeDERArray(DWORD dwCertEncodingType, PCRYPT_DECODE_PARA pDecodePara, void *pvStructInfo, DWORD *pcbStructInfo) { BOOL ret; - struct AsnArrayDescriptor arrayDesc = { ASN_CONSTRUCTOR | ASN_SETOF, - CRYPT_AsnDecodeCopyBytes, sizeof(CRYPT_DER_BLOB), TRUE, - offsetof(CRYPT_DER_BLOB, pbData) }; + struct AsnArrayDescriptor arrayDesc = { 0, CRYPT_AsnDecodeCopyBytes, + sizeof(CRYPT_DER_BLOB), TRUE, offsetof(CRYPT_DER_BLOB, pbData) }; struct GenericArray *array = (struct GenericArray *)pvStructInfo; TRACE("%p, %d, %08x, %p, %p, %d\n", pbEncoded, cbEncoded, dwFlags,