From 318d92b46c5ef5540d00c8df1393e5d3815e96b0 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 15 Aug 2006 19:49:15 +0100 Subject: [PATCH] crypt32/tests: Write-strings warning fix. --- dlls/crypt32/tests/oid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c index 4be68d866ee..c5d2689cf8a 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) {