diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c index a4e9e92141e..6d879c55da4 100644 --- a/dlls/crypt32/str.c +++ b/dlls/crypt32/str.c @@ -447,7 +447,7 @@ BOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType, LPCSTR pszX500, *ppszError = pszX500; for (i = 0; i < errorStr - x500; i++) - CharNextA(*ppszError); + *ppszError = CharNextA(*ppszError); } CryptMemFree(x500); }