crypt32/tests: Constify some character strings.

This commit is contained in:
Frédéric Delanoy 2013-12-21 14:32:21 +01:00 committed by Alexandre Julliard
parent 4ef6d4a6ad
commit 90d1e9471b
2 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ static void checkHash(const BYTE *data, DWORD dataLen, ALG_ID algID,
dwSizeWithNull,size);
}
static CHAR cspNameA[] = "WineCryptTemp";
static const CHAR cspNameA[] = "WineCryptTemp";
static WCHAR cspNameW[] = { 'W','i','n','e','C','r','y','p','t','T','e','m','p',0 };
static const BYTE v1CertWithPubKey[] = {
0x30,0x81,0x95,0x02,0x01,0x01,0x30,0x02,0x06,0x00,0x30,0x15,0x31,0x13,0x30,

View File

@ -6911,7 +6911,7 @@ static void test_decodeCMSSignerInfo(DWORD dwEncoding)
LPBYTE buf = NULL;
DWORD size = 0;
CMSG_CMS_SIGNER_INFO *info;
static char oid1[] = "1.2.3", oid2[] = "1.5.6";
static const char oid1[] = "1.2.3", oid2[] = "1.5.6";
/* A CMS signer can't be decoded without a serial number. */
SetLastError(0xdeadbeef);