diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-06-10 00:19:06 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-06-10 00:19:06 +0000 |
commit | eb1855b5efed70b2af0bf03e9eaf38fc4219114e (patch) | |
tree | bff8f5cc4d5479353f25c4a4541dfdb188732ed5 /fipstest.cpp | |
parent | aec493328f4cd1a6d717743c984a153dc120013a (diff) | |
download | cryptopp-eb1855b5efed70b2af0bf03e9eaf38fc4219114e.tar.gz |
release memory from working set after EDC test
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@77 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'fipstest.cpp')
-rw-r--r-- | fipstest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fipstest.cpp b/fipstest.cpp index 5486e3b..c225619 100644 --- a/fipstest.cpp +++ b/fipstest.cpp @@ -264,6 +264,7 @@ void DoPowerUpSelfTest(const char *moduleFilename, const byte *expectedModuleSha } file.TransferTo(verifier, fileStart - currentFilePos); verifier.Put(memStart, sectionSize); + ::VirtualUnlock((LPVOID)memStart, sectionSize); // release the memory from working set file.Skip(sectionSize); currentFilePos = fileStart + sectionSize; } |