crypt32: Fix type of empty in encodeBase64W().
This commit is contained in:
parent
b7679da9a7
commit
ca41486b8a
|
@ -365,7 +365,7 @@ static LONG encodeBase64W(const BYTE *in_buf, int in_len, LPCWSTR sep,
|
||||||
static BOOL BinaryToBase64W(const BYTE *pbBinary,
|
static BOOL BinaryToBase64W(const BYTE *pbBinary,
|
||||||
DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString)
|
DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString)
|
||||||
{
|
{
|
||||||
static const WCHAR crlf[] = { '\r','\n',0 }, lf[] = { '\n',0 }, empty = {0};
|
static const WCHAR crlf[] = { '\r','\n',0 }, lf[] = { '\n',0 }, empty[] = {0};
|
||||||
BOOL ret = TRUE;
|
BOOL ret = TRUE;
|
||||||
LPCWSTR header = NULL, trailer = NULL, sep;
|
LPCWSTR header = NULL, trailer = NULL, sep;
|
||||||
DWORD charsNeeded;
|
DWORD charsNeeded;
|
||||||
|
|
Loading…
Reference in New Issue