Index: crypto/secure_hash.cc |
diff --git a/crypto/secure_hash.cc b/crypto/secure_hash.cc |
index 2a5a1f02089e6f1ddd24523ab6f39fd31bea744a..fbbed777e11896cfdc04ef1617fa2e7cabdf71ab 100644 |
--- a/crypto/secure_hash.cc |
+++ b/crypto/secure_hash.cc |
@@ -22,7 +22,7 @@ class SecureHashSHA256 : public SecureHash { |
SHA256_Init(&ctx_); |
} |
- SecureHashSHA256(const SecureHashSHA256& other) { |
+ SecureHashSHA256(const SecureHashSHA256& other) : SecureHash() { |
Ryan Sleevi
2016/05/21 10:33:33
Why. The existing code is doing the right thing.
Luis Héctor Chávez
2016/05/24 15:27:53
Nevermind, I realized the branch I was building th
|
memcpy(&ctx_, &other.ctx_, sizeof(ctx_)); |
} |