Changeset 21720 for branches/gcc-kmk/src/crypt32/decode.c
- Timestamp:
- Oct 19, 2011, 11:26:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/crypt32/decode.c
r21354 r21720 48 48 #include "winnls.h" 49 49 #include "snmp.h" 50 #include "wine \debug.h"51 #include "wine \exception.h"50 #include "wine/debug.h" 51 #include "wine/exception.h" 52 52 #include "crypt32_private.h" 53 53 … … 784 784 BYTE lenBytes = GET_LEN_BYTES(pbEncoded[1]); 785 785 DWORD bytesNeeded = sizeof(CRYPT_DER_BLOB); 786 786 787 787 if (!(dwFlags & CRYPT_DECODE_NOCOPY_FLAG)) 788 788 bytesNeeded += 1 + lenBytes + dataLen; … … 1562 1562 1563 1563 value->Value.cbData = MultiByteToWideChar(CP_UTF8, 0, 1564 (LPCSTR)pbEncoded + 1 + lenBytes, dataLen, 1564 (LPCSTR)pbEncoded + 1 + lenBytes, dataLen, 1565 1565 str, bytesNeeded - sizeof(CERT_NAME_VALUE)) * 2; 1566 1566 break; … … 2741 2741 offsetof(CRYPT_ALGORITHM_IDENTIFIER, pszObjId), 0 }, 2742 2742 { 0, offsetof(CRYPT_ALGORITHM_IDENTIFIER, Parameters), 2743 CRYPT_AsnDecodeCopyBytes, sizeof(CRYPT_OBJID_BLOB), TRUE, TRUE, 2743 CRYPT_AsnDecodeCopyBytes, sizeof(CRYPT_OBJID_BLOB), TRUE, TRUE, 2744 2744 offsetof(CRYPT_ALGORITHM_IDENTIFIER, Parameters.pbData), 0 }, 2745 2745 }; … … 3421 3421 struct AsnDecodeSequenceItem items[] = { 3422 3422 { ASN_BITSTRING, offsetof(CERT_BASIC_CONSTRAINTS_INFO, SubjectType), 3423 CRYPT_AsnDecodeBitsInternal, sizeof(CRYPT_BIT_BLOB), FALSE, TRUE, 3423 CRYPT_AsnDecodeBitsInternal, sizeof(CRYPT_BIT_BLOB), FALSE, TRUE, 3424 3424 offsetof(CERT_BASIC_CONSTRAINTS_INFO, SubjectType.pbData), 0 }, 3425 3425 { ASN_INTEGER, offsetof(CERT_BASIC_CONSTRAINTS_INFO,
Note:
See TracChangeset
for help on using the changeset viewer.