Commit 0f29b48f authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Don't crash logging numeric function names.

parent c7915134
...@@ -663,7 +663,8 @@ BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, ...@@ -663,7 +663,8 @@ BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
LPSTR szKey; LPSTR szKey;
LONG rc; LONG rc;
TRACE("%x %s %s\n", dwEncodingType, pszFuncName, pszOID); TRACE("%x %s %s\n", dwEncodingType, debugstr_a(pszFuncName),
debugstr_a(pszOID));
if (!GET_CERT_ENCODING_TYPE(dwEncodingType)) if (!GET_CERT_ENCODING_TYPE(dwEncodingType))
return TRUE; return TRUE;
...@@ -934,8 +935,8 @@ BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType, ...@@ -934,8 +935,8 @@ BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
LPCWSTR existing; LPCWSTR existing;
BOOL ret = FALSE; BOOL ret = FALSE;
TRACE("(%x, %s, %x, %s)\n", dwEncodingType, pszFuncName, dwIndex, TRACE("(%x, %s, %d, %s)\n", dwEncodingType, debugstr_a(pszFuncName),
debugstr_w(pwszDll)); dwIndex, debugstr_w(pwszDll));
if (!pwszDll) if (!pwszDll)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment