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 f812377ed..4a06fca39 100644
--- a/src/rng/x931_rng/x931_rng.cpp
+++ b/src/rng/x931_rng/x931_rng.cpp
@@ -112,7 +112,7 @@ void ANSI_X931_RNG::clear()
{
cipher->clear();
prng->clear();
- R.clear();
+ zeroise(R);
V.destroy();
position = 0;