aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-19 12:46:24 +0200
committerKim Alvefur <zash@zash.se>2019-04-19 12:46:24 +0200
commit8e2e187ff819b98ebae24f2a5ebd9994a2d41c2f (patch)
tree7fc8621bcefcd6db9b807b6ea132767f6d3b576e /util
parent8041f3f5490a8f4893316437ab01415c516dcaa7 (diff)
downloadprosody-8e2e187ff819b98ebae24f2a5ebd9994a2d41c2f.tar.gz
prosody-8e2e187ff819b98ebae24f2a5ebd9994a2d41c2f.zip
util.hmac: Reflow code
Diffstat (limited to 'util')
-rw-r--r--util/hmac.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/hmac.lua b/util/hmac.lua
index 2c4cc6ef..f3caae33 100644
--- a/util/hmac.lua
+++ b/util/hmac.lua
@@ -10,6 +10,8 @@
local hashes = require "util.hashes"
-return { md5 = hashes.hmac_md5,
- sha1 = hashes.hmac_sha1,
- sha256 = hashes.hmac_sha256 };
+return {
+ md5 = hashes.hmac_md5,
+ sha1 = hashes.hmac_sha1,
+ sha256 = hashes.hmac_sha256,
+};