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_)); |
wtc
2012/11/28 20:49:30
This matches what the SecureHashSHA256OpenSSL dest
agl
2012/11/28 21:25:30
I believe that there is a significant chance that
Ryan Sleevi
2012/11/28 22:17:08
Agreed. It's gonna be a nop on -O2 and higher.
Se
wtc
2012/11/28 22:39:36
Thanks for pointing this out. We should add a func
|
} |
// SecureHash implementation: |