crypt32: Fix incorrect usage of CharNextA.
This commit is contained in:
parent
24eee19bfd
commit
c2cf60fcee
|
@ -447,7 +447,7 @@ BOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType, LPCSTR pszX500,
|
||||||
|
|
||||||
*ppszError = pszX500;
|
*ppszError = pszX500;
|
||||||
for (i = 0; i < errorStr - x500; i++)
|
for (i = 0; i < errorStr - x500; i++)
|
||||||
CharNextA(*ppszError);
|
*ppszError = CharNextA(*ppszError);
|
||||||
}
|
}
|
||||||
CryptMemFree(x500);
|
CryptMemFree(x500);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue