Module: wine Branch: master Commit: 0f29b48fa0456bb8d291a2f867b7154133f83e45 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0f29b48fa0456bb8d291a2f867...
Author: Juan Lang juan.lang@gmail.com Date: Wed Oct 17 09:32:32 2007 -0700
crypt32: Don't crash logging numeric function names.
---
dlls/crypt32/oid.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index 90c88c3..c33d7aa 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -663,7 +663,8 @@ BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, LPSTR szKey; 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)) return TRUE; @@ -934,8 +935,8 @@ BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType, LPCWSTR existing; BOOL ret = FALSE;
- TRACE("(%x, %s, %x, %s)\n", dwEncodingType, pszFuncName, dwIndex, - debugstr_w(pwszDll)); + TRACE("(%x, %s, %d, %s)\n", dwEncodingType, debugstr_a(pszFuncName), + dwIndex, debugstr_w(pwszDll));
if (!pwszDll) {