summaryrefslogtreecommitdiffstats
path: root/crypto/secure_hash_default.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/secure_hash_default.cc')
-rw-r--r--crypto/secure_hash_default.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/secure_hash_default.cc b/crypto/secure_hash_default.cc
index b743b4c..7b912e1 100644
--- a/crypto/secure_hash_default.cc
+++ b/crypto/secure_hash_default.cc
@@ -24,6 +24,7 @@ class SecureHashSHA256NSS : public SecureHash {
}
virtual ~SecureHashSHA256NSS() {
+ memset(&ctx_, 0, sizeof(ctx_));
}
// SecureHash implementation: