Fixed a typo in CryptExportKey.

This commit is contained in:
Michael Jung 2004-10-18 19:35:24 +00:00 committed by Alexandre Julliard
parent 5c98265050
commit 162171e258
1 changed files with 1 additions and 1 deletions

View File

@ -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);
if (!key || pdwDataLen)
if (!key || !pdwDataLen)
CRYPT_ReturnLastError(ERROR_INVALID_PARAMETER);
prov = key->pProvider;