From bed8f7307e88e0df62f863e1018681f373e0c6cd Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 26 Jan 2015 16:34:37 -0800 Subject: [PATCH] Fix build after mistake addressing comments in cca4d599. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My screwup—I didn't rebuild before submitting :( Change-Id: If3e1a5cc5bdf6cacb94bc23896619796b22bd9d2 --- tool/digest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/digest.cc b/tool/digest.cc index 93058ed5..224b79c7 100644 --- a/tool/digest.cc +++ b/tool/digest.cc @@ -355,7 +355,7 @@ static bool DigestSum(const EVP_MD *md, break; } - if (arg[0] == "-") { + if (arg == "-") { // "-" ends the argument list and indicates that stdin should be used. sources.push_back(Source(Source::STDIN)); break;