Module: wine Branch: refs/heads/master Commit: 1523b8f19ef7c47ead4e42622ebf060a7e9cf45f URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1523b8f19ef7c47ead4e4262...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Tue May 30 20:42:31 2006 +0100
crypt32: Write-strings warning fix.
---
dlls/crypt32/cert.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c index f4c7a42..3893bdb 100644 --- a/dlls/crypt32/cert.c +++ b/dlls/crypt32/cert.c @@ -1647,6 +1647,7 @@ static void CRYPT_MakeCertInfo(PCERT_INF { /* FIXME: what serial number to use? */ static const BYTE serialNum[] = { 1 }; + static CHAR oid[] = szOID_RSA_SHA1RSA;
assert(info); assert(pSubjectIssuerBlob); @@ -1660,7 +1661,7 @@ static void CRYPT_MakeCertInfo(PCERT_INF sizeof(info->SignatureAlgorithm)); else { - info->SignatureAlgorithm.pszObjId = szOID_RSA_SHA1RSA; + info->SignatureAlgorithm.pszObjId = oid; info->SignatureAlgorithm.Parameters.cbData = 0; info->SignatureAlgorithm.Parameters.pbData = NULL; }