Andrew Talbot : crypt32/tests: Write-strings warning fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Aug 16 06:15:51 CDT 2006
Module: wine
Branch: master
Commit: 318d92b46c5ef5540d00c8df1393e5d3815e96b0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=318d92b46c5ef5540d00c8df1393e5d3815e96b0
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Tue Aug 15 19:49:15 2006 +0100
crypt32/tests: Write-strings warning fix.
---
dlls/crypt32/tests/oid.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c
index 4be68d8..c5d2689 100644
--- a/dlls/crypt32/tests/oid.c
+++ b/dlls/crypt32/tests/oid.c
@@ -431,13 +431,14 @@ static void test_enumOIDInfo(void)
static void test_findOIDInfo(void)
{
static const WCHAR sha1[] = { 's','h','a','1',0 };
+ static CHAR oid_rsa_md5[] = szOID_RSA_MD5;
ALG_ID alg = CALG_SHA1;
ALG_ID algs[2] = { CALG_MD5, CALG_RSA_SIGN };
PCCRYPT_OID_INFO info;
info = CryptFindOIDInfo(0, NULL, 0);
ok(info == NULL, "Expected NULL\n");
- info = CryptFindOIDInfo(CRYPT_OID_INFO_OID_KEY, szOID_RSA_MD5, 0);
+ info = CryptFindOIDInfo(CRYPT_OID_INFO_OID_KEY, oid_rsa_md5, 0);
ok(info != NULL, "Expected to find szOID_RSA_MD5\n");
if (info)
{
More information about the wine-cvs
mailing list