Diff

squishy @ 486:6416ea3fff86

Fix sha1 support when no binary dependencies available
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Mar 2023 19:06:04 +0000
parent 482:4c4f3dd62c54
child 490:6b2f31da9610
line wrap: on
line diff
--- a/squishy	Thu Mar 23 18:56:32 2023 +0000
+++ b/squishy	Thu Mar 23 19:06:04 2023 +0000
@@ -3,7 +3,6 @@
 -- Verse-specific versions of libraries
 Module "util.encodings"		"libs/encodings.lua"
 Module "util.hashes"		"libs/hashes.lua"
-Module "util.sha1"		"util/sha1.lua"
 Module "lib.adhoc"              "libs/adhoc.lib.lua"
 Module "util.table" "libs/table.lua"
 
@@ -14,6 +13,9 @@
 	AutoFetchURL(GetOption("prosody").."/?")
 end
 
+Module "util.sha1"		"util/sha1.lua"
+Module "util.bit"               "libs/bit.lua"
+
 Module "util.stanza"		"util/stanza.lua"
 Module "util.timer"		"util/timer.lua"
 Module "util.termcolours"	"util/termcolours.lua"