Software /
code /
verse
Diff
util/sha1.lua @ 500:674daff6c73b
use util.bitcompat from Prosody for bitwise compat layer
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Jun 2023 12:26:43 +0200 |
parent | 490:6b2f31da9610 |
line wrap: on
line diff
--- a/util/sha1.lua Fri Jun 23 12:16:09 2023 +0200 +++ b/util/sha1.lua Fri Jun 23 12:26:43 2023 +0200 @@ -13,7 +13,7 @@ local strbyte = string.byte local strsub = string.sub local floor = math.floor -local bit = bit32 or require "prosody.util.bit" +local bit = require "prosody.util.bitcompat" local bnot = bit.bnot local band = bit.band local bor = bit.bor