From: Tobias Ulmer Date: Mon, 11 Nov 2013 18:58:22 +0000 (+0100) Subject: Fix crash on MD5 checksum entry X-Git-Tag: e2factory-2.3.15rc1~398 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=3e9969c82df27064d3d3df3993f5442c5e9460cc;p=e2factory.git Fix crash on MD5 checksum entry Signed-off-by: Tobias Ulmer --- diff --git a/local/digest.lua b/local/digest.lua index c27eda9..1710ae0 100644 --- a/local/digest.lua +++ b/local/digest.lua @@ -198,7 +198,7 @@ local function compute_checksum_entry(pos, entry, directory, verify) if not computedcs then return false, re end - elseif entry.digest.MD5 then + elseif entry.digest == digest.MD5 then -- XXX: Fix this for backwards compat. return false, err.new("Computing MD5 checksums is currently not ".. "supported")