aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/x931_rng
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-08 00:03:15 +0000
committerlloyd <[email protected]>2010-09-08 00:03:15 +0000
commit995277d11e900475aff1cc418021569968394590 (patch)
treeee36518274c423b970aa8a4dcc1cbee98cc8f1e1 /src/rng/x931_rng
parent02ed6ebc954683cd2a25a81b6e707ab481e41e26 (diff)
Rename MemoryRegion::destroy to MemoryRegion::clear to match STL
Diffstat (limited to 'src/rng/x931_rng')
-rw-r--r--src/rng/x931_rng/x931_rng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng/x931_rng/x931_rng.cpp b/src/rng/x931_rng/x931_rng.cpp
index 4a06fca39..f92f5ae99 100644
--- a/src/rng/x931_rng/x931_rng.cpp
+++ b/src/rng/x931_rng/x931_rng.cpp
@@ -113,7 +113,7 @@ void ANSI_X931_RNG::clear()
cipher->clear();
prng->clear();
zeroise(R);
- V.destroy();
+ V.clear();
position = 0;
}