aboutsummaryrefslogtreecommitdiffstats
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
commit2ab687396c5b2bd4b461adf0e7edc7be296c8218 (patch)
tree7fc8621bcefcd6db9b807b6ea132767f6d3b576e
parente70c9f1828ba93e493e940672c16fee0370bd02a (diff)
downloadprosody-2ab687396c5b2bd4b461adf0e7edc7be296c8218.tar.gz
prosody-2ab687396c5b2bd4b461adf0e7edc7be296c8218.zip
util.hmac: Reflow code
-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,
+};