crypt32: Write-strings warning fix.
This commit is contained in:
parent
8527f91043
commit
63efd7f8e6
|
@ -2400,13 +2400,14 @@ static BOOL WINAPI CRYPT_ExportRsaPublicKeyInfoEx(HCRYPTPROV hCryptProv,
|
||||||
{
|
{
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
HCRYPTKEY key;
|
HCRYPTKEY key;
|
||||||
|
static CHAR oid[] = szOID_RSA_RSA;
|
||||||
|
|
||||||
TRACE("(%ld, %ld, %08lx, %s, %08lx, %p, %p, %p)\n", hCryptProv, dwKeySpec,
|
TRACE("(%ld, %ld, %08lx, %s, %08lx, %p, %p, %p)\n", hCryptProv, dwKeySpec,
|
||||||
dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, pvAuxInfo,
|
dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, pvAuxInfo,
|
||||||
pInfo, pcbInfo);
|
pInfo, pcbInfo);
|
||||||
|
|
||||||
if (!pszPublicKeyObjId)
|
if (!pszPublicKeyObjId)
|
||||||
pszPublicKeyObjId = szOID_RSA_RSA;
|
pszPublicKeyObjId = oid;
|
||||||
if ((ret = CryptGetUserKey(hCryptProv, dwKeySpec, &key)))
|
if ((ret = CryptGetUserKey(hCryptProv, dwKeySpec, &key)))
|
||||||
{
|
{
|
||||||
DWORD keySize = 0;
|
DWORD keySize = 0;
|
||||||
|
|
Loading…
Reference in New Issue