crypt32: Reduce valid usages count when removing a valid usage.
This commit is contained in:
parent
b5531163a9
commit
f8e830a253
|
@ -2012,6 +2012,7 @@ BOOL WINAPI CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts,
|
|||
cbOIDs -= lstrlenA(
|
||||
validUsages.rgpszUsageIdentifier[j]) + 1 +
|
||||
sizeof(LPSTR);
|
||||
validUsages.cUsageIdentifier--;
|
||||
numRemoved++;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue