From b7e21e972fe4f154a4d9f92a04f8ca08f0a00ad8 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 23 Jun 2016 00:47:30 +0200 Subject: [PATCH] CryptExportKey() tested --- include/WinStd/Crypt.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/WinStd/Crypt.h b/include/WinStd/Crypt.h index eea16697..aa61becb 100644 --- a/include/WinStd/Crypt.h +++ b/include/WinStd/Crypt.h @@ -209,8 +209,6 @@ inline BOOL CryptGetKeyParam(_In_ HCRYPTKEY hKey, _In_ DWORD dwParam, _Out_ T &d template inline BOOL CryptExportKey(_In_ HCRYPTKEY hKey, _In_ HCRYPTKEY hExpKey, _In_ DWORD dwBlobType, _In_ DWORD dwFlags, _Out_ std::vector<_Ty, _Ax> &aData) { - assert(0); // TODO: Test this code. - DWORD dwKeyBLOBSize; if (CryptExportKey(hKey, hExpKey, dwBlobType, dwFlags, NULL, &dwKeyBLOBSize)) {