mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-01 11:52:54 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -32,21 +32,21 @@ int main(int argc, char** argv)
|
||||
<< " create the MD5 digest for <input_file>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
std::ifstream istr(argv[1], std::ios::binary);
|
||||
if (!istr)
|
||||
{
|
||||
std::cerr << "cannot open input file: " << argv[1] << std::endl;
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
||||
MD5Engine md5;
|
||||
DigestOutputStream dos(md5);
|
||||
|
||||
|
||||
StreamCopier::copyStream(istr, dos);
|
||||
dos.close();
|
||||
|
||||
std::cout << DigestEngine::digestToHex(md5.digest()) << std::endl;
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user