diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 00:36:58 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-30 00:36:58 +0000 |
commit | 3de9cc2fa2931a9d343f5bb09c74674967ef4c98 (patch) | |
tree | 6e8a13d82aee3822a8a66cafb6eb50f35c1890f5 /crypto/secure_hash_default.cc | |
parent | 399882394634321111b6caf55136760b3ce3b471 (diff) | |
download | chromium_src-3de9cc2fa2931a9d343f5bb09c74674967ef4c98.zip chromium_src-3de9cc2fa2931a9d343f5bb09c74674967ef4c98.tar.gz chromium_src-3de9cc2fa2931a9d343f5bb09c74674967ef4c98.tar.bz2 |
Fix nits in SecureHash.
R=agl@chromium.org,rsleevi@chromium.org
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11299235
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/secure_hash_default.cc')
-rw-r--r-- | crypto/secure_hash_default.cc | 1 |
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: |