Fixed a typo in CryptExportKey.
This commit is contained in:
parent
5c98265050
commit
162171e258
|
@ -1179,7 +1179,7 @@ BOOL WINAPI CryptExportKey (HCRYPTKEY hKey, HCRYPTKEY hExpKey, DWORD dwBlobType,
|
||||||
|
|
||||||
TRACE("(0x%lx, 0x%lx, %ld, %08ld, %p, %p)\n", hKey, hExpKey, dwBlobType, dwFlags, pbData, pdwDataLen);
|
TRACE("(0x%lx, 0x%lx, %ld, %08ld, %p, %p)\n", hKey, hExpKey, dwBlobType, dwFlags, pbData, pdwDataLen);
|
||||||
|
|
||||||
if (!key || pdwDataLen)
|
if (!key || !pdwDataLen)
|
||||||
CRYPT_ReturnLastError(ERROR_INVALID_PARAMETER);
|
CRYPT_ReturnLastError(ERROR_INVALID_PARAMETER);
|
||||||
|
|
||||||
prov = key->pProvider;
|
prov = key->pProvider;
|
||||||
|
|
Loading…
Reference in New Issue