aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-29 21:12:46 +0200
committerKim Alvefur <zash@zash.se>2019-09-29 21:12:46 +0200
commita4f4107e5a258eb083d63acdb75f3f39bb39d34c (patch)
tree546ae7aca5970ae33953c9217a20516e871a173b /util
parentc12eba925b1ec2e725920cc3870b41320415027d (diff)
downloadprosody-a4f4107e5a258eb083d63acdb75f3f39bb39d34c.tar.gz
prosody-a4f4107e5a258eb083d63acdb75f3f39bb39d34c.zip
util.sasl.scram: Fix old API
This function is not directly used by anything in Prosody anymore and should be considered deprecated.
Diffstat (limited to 'util')
-rw-r--r--util/sasl/scram.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua
index 793382b8..9bf1737b 100644
--- a/util/sasl/scram.lua
+++ b/util/sasl/scram.lua
@@ -269,6 +269,6 @@ end
return {
get_hash = get_scram_hasher;
hashers = auth_db_getters;
- getAuthenticationDatabaseSHA1 = get_scram_hasher(hashes.sha1, hashes.sha256, hashes.pbkdf2_hmac_sha1);
+ getAuthenticationDatabaseSHA1 = get_scram_hasher(hashes.sha1, hashes.hmac_sha1, hashes.pbkdf2_hmac_sha1); -- COMPAT
init = init;
}