aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/gost_3411/gost_3411.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/gost_3411/gost_3411.cpp')
-rw-r--r--src/hash/gost_3411/gost_3411.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp
index f09b0fc60..7e6fd8fac 100644
--- a/src/hash/gost_3411/gost_3411.cpp
+++ b/src/hash/gost_3411/gost_3411.cpp
@@ -26,8 +26,8 @@ GOST_34_11::GOST_34_11() :
void GOST_34_11::clear()
{
cipher.clear();
- sum.clear();
- hash.clear();
+ zeroise(sum);
+ zeroise(hash);
count = 0;
position = 0;
}