Chromium Code Reviews| Index: net/tools/cert_verify_tool/cert_verify_tool_util.h |
| diff --git a/net/tools/cert_verify_tool/cert_verify_tool_util.h b/net/tools/cert_verify_tool/cert_verify_tool_util.h |
| index fe077f65f5bb096a74b4ae4508816339ba2263c6..3ad06f80d4d2142f606d3f17a5b37981e626d5dd 100644 |
| --- a/net/tools/cert_verify_tool/cert_verify_tool_util.h |
| +++ b/net/tools/cert_verify_tool/cert_verify_tool_util.h |
| @@ -32,8 +32,10 @@ bool ReadCertificatesFromFile(const base::FilePath& file_path, |
| // Parses |file_path| as a DER cert or PEM chain. If more than one cert is |
| // present, the first will be used as the target certificate and the rest will |
| -// be used as intermediates. |
| -void ReadChainFromFile(const base::FilePath& file_path, |
| +// be used as intermediates. Returns true on success. Note if the input |
| +// contains no certificates then the return value is true however |
| +// nothing is written to |target| or |intermediates. |
|
mattm
2016/09/06 22:10:50
missing |
eroman
2016/09/06 22:32:56
Done.
|
| +bool ReadChainFromFile(const base::FilePath& file_path, |
| CertInput* target, |
| std::vector<CertInput>* intermediates); |