crypt32: Fix order-of-evaluation dependence.
This commit is contained in:
parent
a6087662ba
commit
a3223df865
|
@ -346,8 +346,8 @@ static BOOL WINAPI CRYPT_AsnEncodeValidity(DWORD dwCertEncodingType,
|
||||||
/* This has two filetimes in a row, a NotBefore and a NotAfter */
|
/* This has two filetimes in a row, a NotBefore and a NotAfter */
|
||||||
const FILETIME *timePtr = (const FILETIME *)pvStructInfo;
|
const FILETIME *timePtr = (const FILETIME *)pvStructInfo;
|
||||||
struct AsnEncodeSequenceItem items[] = {
|
struct AsnEncodeSequenceItem items[] = {
|
||||||
{ timePtr++, CRYPT_AsnEncodeChoiceOfTime, 0 },
|
{ timePtr, CRYPT_AsnEncodeChoiceOfTime, 0 },
|
||||||
{ timePtr, CRYPT_AsnEncodeChoiceOfTime, 0 },
|
{ timePtr + 1, CRYPT_AsnEncodeChoiceOfTime, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
ret = CRYPT_AsnEncodeSequence(dwCertEncodingType, items,
|
ret = CRYPT_AsnEncodeSequence(dwCertEncodingType, items,
|
||||||
|
|
Loading…
Reference in New Issue