crypt32: Write-strings warning fix.

This commit is contained in:
Andrew Talbot 2006-06-01 20:54:11 +01:00 committed by Alexandre Julliard
parent 8527f91043
commit 63efd7f8e6
1 changed files with 2 additions and 1 deletions

View File

@ -2400,13 +2400,14 @@ static BOOL WINAPI CRYPT_ExportRsaPublicKeyInfoEx(HCRYPTPROV hCryptProv,
{
BOOL ret;
HCRYPTKEY key;
static CHAR oid[] = szOID_RSA_RSA;
TRACE("(%ld, %ld, %08lx, %s, %08lx, %p, %p, %p)\n", hCryptProv, dwKeySpec,
dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, pvAuxInfo,
pInfo, pcbInfo);
if (!pszPublicKeyObjId)
pszPublicKeyObjId = szOID_RSA_RSA;
pszPublicKeyObjId = oid;
if ((ret = CryptGetUserKey(hCryptProv, dwKeySpec, &key)))
{
DWORD keySize = 0;