diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-06-10 00:19:06 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-06-10 00:19:06 +0000 |
commit | b3843db7431e2b66da9cc236da02c087a9a1723e (patch) | |
tree | bff8f5cc4d5479353f25c4a4541dfdb188732ed5 /fipstest.cpp | |
parent | 6c4437d03df6a1beadfadfc7c5388005c69665db (diff) | |
download | cryptopp-git-b3843db7431e2b66da9cc236da02c087a9a1723e.tar.gz |
release memory from working set after EDC test
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 5486e3b6..c2256193 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; } |