mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
crypt32: Fix printing NULL strings.
This commit is contained in:
parent
5177a5f686
commit
6efd90510b
2 changed files with 3 additions and 3 deletions
|
@ -1668,7 +1668,7 @@ static LPCSTR filetime_to_str(const FILETIME *time)
|
|||
char dateFmt[80]; /* sufficient for all versions of LOCALE_SSHORTDATE */
|
||||
SYSTEMTIME sysTime;
|
||||
|
||||
if (!time) return NULL;
|
||||
if (!time) return "(null)";
|
||||
|
||||
GetLocaleInfoA(LOCALE_SYSTEM_DEFAULT, LOCALE_SSHORTDATE, dateFmt,
|
||||
sizeof(dateFmt) / sizeof(dateFmt[0]));
|
||||
|
|
|
@ -614,8 +614,8 @@ BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
|
|||
HKEY hKey;
|
||||
LPSTR szKey;
|
||||
|
||||
TRACE("(%x, %s, %s, %s, %s)\n", dwEncodingType, pszFuncName,
|
||||
debugstr_a(pszOID), debugstr_w(pwszDll), pszOverrideFuncName);
|
||||
TRACE("(%x, %s, %s, %s, %s)\n", dwEncodingType, debugstr_a(pszFuncName),
|
||||
debugstr_a(pszOID), debugstr_w(pwszDll), debugstr_a(pszOverrideFuncName));
|
||||
|
||||
/* Native does nothing pwszDll is NULL */
|
||||
if (!pwszDll)
|
||||
|
|
Loading…
Reference in a new issue