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

Unified Diff: omaha_hash_calculator.h

Issue 3419018: AU: Switch from SHA-1 to SHA-256 hash. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: update unit test Created 10 years, 3 months 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 | omaha_hash_calculator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_hash_calculator.h
diff --git a/omaha_hash_calculator.h b/omaha_hash_calculator.h
index 5a666b6bb65962b59d812dbbf06eca09e0a4d865..208fd01e6acddf2629c6d96b6795db9ca68cf1e5 100644
--- a/omaha_hash_calculator.h
+++ b/omaha_hash_calculator.h
@@ -57,7 +57,7 @@ class OmahaHashCalculator {
bool valid_;
// The hash state used by OpenSSL
- SHA_CTX ctx_;
+ SHA256_CTX ctx_;
DISALLOW_COPY_AND_ASSIGN(OmahaHashCalculator);
};
« no previous file with comments | « no previous file | omaha_hash_calculator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698