commit | 9cedc3a535a92b4ca3abeeb800f1db9165d6d8d8 | [log] [tgz] |
---|---|---|
author | David Benjamin <[email protected]> | Sun Aug 20 21:30:58 2017 |
committer | Commit Bot <[email protected]> | Sun Aug 20 21:30:58 2017 |
tree | c7e731060e89f87f0a8cfea5c9261065762419d8 | |
parent | b1c84050fb3eb548dcae593d529dfc6cc4b66e9c [diff] [blame] |
Use SHA-256, rather than SHA-1, for EV metadata. To make this easier next time, I've checked the roots into net/data/ssl/ev_roots/. This also removes the last usage of SHA-1 in net/base/hash_value.h which can now be fully removed. Bug: 618487 Change-Id: Ib04d0ad50ecb874d45b99eb56815a9a7dbc2f348 Reviewed-on: https://chromium-review.googlesource.com/621209 Commit-Queue: David Benjamin <[email protected]> Reviewed-by: Ryan Sleevi <[email protected]> Cr-Commit-Position: refs/heads/master@{#495852}
diff --git a/net/test/cert_test_util.h b/net/test/cert_test_util.h index 3bc2f87..cba4747 100644 --- a/net/test/cert_test_util.h +++ b/net/test/cert_test_util.h
@@ -100,12 +100,12 @@ class ScopedTestEVPolicy { public: ScopedTestEVPolicy(EVRootCAMetadata* ev_root_ca_metadata, - const SHA1HashValue& fingerprint, + const SHA256HashValue& fingerprint, const char* policy); ~ScopedTestEVPolicy(); private: - SHA1HashValue fingerprint_; + SHA256HashValue fingerprint_; EVRootCAMetadata* const ev_root_ca_metadata_; };