Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: crypto/secure_hash_default.cc

Issue 11299235: Fix nits in SecureHash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Include <openssl/crypto.h> for OPENSSL_cleanse Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | crypto/secure_hash_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/secure_hash_default.cc
===================================================================
--- crypto/secure_hash_default.cc (revision 168842)
+++ crypto/secure_hash_default.cc (working copy)
@@ -24,6 +24,7 @@
}
virtual ~SecureHashSHA256NSS() {
+ memset(&ctx_, 0, sizeof(ctx_));
}
// SecureHash implementation:
« no previous file with comments | « no previous file | crypto/secure_hash_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698