crypt32: Write-strings warning fix.
This commit is contained in:
parent
9480d3e50a
commit
1523b8f19e
|
@ -1647,6 +1647,7 @@ static void CRYPT_MakeCertInfo(PCERT_INFO info,
|
||||||
{
|
{
|
||||||
/* FIXME: what serial number to use? */
|
/* FIXME: what serial number to use? */
|
||||||
static const BYTE serialNum[] = { 1 };
|
static const BYTE serialNum[] = { 1 };
|
||||||
|
static CHAR oid[] = szOID_RSA_SHA1RSA;
|
||||||
|
|
||||||
assert(info);
|
assert(info);
|
||||||
assert(pSubjectIssuerBlob);
|
assert(pSubjectIssuerBlob);
|
||||||
|
@ -1660,7 +1661,7 @@ static void CRYPT_MakeCertInfo(PCERT_INFO info,
|
||||||
sizeof(info->SignatureAlgorithm));
|
sizeof(info->SignatureAlgorithm));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
info->SignatureAlgorithm.pszObjId = szOID_RSA_SHA1RSA;
|
info->SignatureAlgorithm.pszObjId = oid;
|
||||||
info->SignatureAlgorithm.Parameters.cbData = 0;
|
info->SignatureAlgorithm.Parameters.cbData = 0;
|
||||||
info->SignatureAlgorithm.Parameters.pbData = NULL;
|
info->SignatureAlgorithm.Parameters.pbData = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue