MD5::checkFileChecksum(char const* const checksum,
		       char const* filename, qpdf_offset_t up_to_offset)
{
    bool result = false;
    try
    {
	std::string actual_checksum = getFileChecksum(filename, up_to_offset);
	result = (checksum == actual_checksum);
    }
    catch (std::runtime_error const&)
    {
	// Ignore -- return false
    }
    return result;
}
MD5::checkFileChecksum(char const* const checksum,
		       char const* filename, qpdf_offset_t up_to_offset)
{
    bool result = false;
    try
    {
	std::string actual_checksum = getFileChecksum(filename, up_to_offset);
	result = (checksum == actual_checksum);
    }
    catch (std::runtime_error const&)
    {
	 
    }
    return result;
}