| Index: net/cert/internal/parse_ocsp.cc
|
| diff --git a/net/cert/internal/parse_ocsp.cc b/net/cert/internal/parse_ocsp.cc
|
| index 0e13fc3d09a0cdd1d438c6e1132267e1c23ac66e..a44290f25e4e95d1cc2ae61341dbff85a4fb9d8c 100644
|
| --- a/net/cert/internal/parse_ocsp.cc
|
| +++ b/net/cert/internal/parse_ocsp.cc
|
| @@ -458,6 +458,11 @@ bool CheckCertID(const der::Input& id_tlv,
|
|
|
| HashValueTag type = HASH_VALUE_SHA1;
|
| switch (id.hash_algorithm) {
|
| + case DigestAlgorithm::Md2:
|
| + case DigestAlgorithm::Md4:
|
| + case DigestAlgorithm::Md5:
|
| + // Unsupported.
|
| + return false;
|
| case DigestAlgorithm::Sha1:
|
| type = HASH_VALUE_SHA1;
|
| break;
|
|
|