| Index: net/cert/cert_verify_proc.h
|
| diff --git a/net/cert/cert_verify_proc.h b/net/cert/cert_verify_proc.h
|
| index 352610f22e54d073a735b790eb568be1fc839bff..5befe2418fe25fdabf233521fb2cbcd7ea9dd5be 100644
|
| --- a/net/cert/cert_verify_proc.h
|
| +++ b/net/cert/cert_verify_proc.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "net/base/net_export.h"
|
| #include "net/cert/x509_cert_types.h"
|
| +#include "net/cert/x509_certificate.h"
|
|
|
| namespace net {
|
|
|
| @@ -134,6 +135,21 @@ class NET_EXPORT CertVerifyProc
|
| DISALLOW_COPY_AND_ASSIGN(CertVerifyProc);
|
| };
|
|
|
| +// Sets the weak signature hash fields of |verify_result| to true if
|
| +// applicable for |cert|, otherwise does not modify them.
|
| +//
|
| +// The fields in question are: |has_md2|, |has_md4|, |has_md5|,|has_sha1| and
|
| +// |has_sha1_leaf|.
|
| +//
|
| +// Returns the hash algorithm that was determined for |cert|.
|
| +//
|
| +// This function is intended to be used as a helper by platform-specific
|
| +// CertVerifyProc implementations.
|
| +X509Certificate::SignatureHashAlgorithm FillCertVerifyResultWeakSignature(
|
| + X509Certificate::OSCertHandle cert,
|
| + bool is_leaf,
|
| + CertVerifyResult* verify_result);
|
| +
|
| } // namespace net
|
|
|
| #endif // NET_CERT_CERT_VERIFY_PROC_H_
|
|
|