aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/x931_rng
diff options
context:
space:
mode:
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;
}