Hi Hisham, On Nov 22, 2010, at 9:21 PM, Hisham wrote:
> candidate: if no problems are reported, these packages will be renamed > into the final versions. I would like to see get_md5 fixed as per a discussion on this list October 29... Begin forwarded message: > From: steve donovan <[email protected]> > Date: October 30, 2010 3:21:25 AM EDT > To: LuaRocks developers list <[email protected]> > Subject: Re: [Luarocks-developers] New version of Webrocks > Reply-To: LuaRocks developers list <[email protected]> > > On Sat, Oct 30, 2010 at 5:18 AM, Doug Currie <[email protected]> wrote: >> Maybe instead of >> >> computed = computed:sub(-32) >> >> we could use >> >> computed = >> computed:match("(%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x)") > > That would do the job in both cases: > > $ openssl md5 test-doc.lua > MD5(test-doc.lua)= 466a8673375ce16d701ff3624cc01238 > $ md5sum test-doc.lua > 466a8673375ce16d701ff3624cc01238 test-doc.lua > > Looks like this problem has been lurking around, waiting to bite! > > steve d. > > _______________________________________________ > Luarocks-developers mailing list > [email protected] > http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
