aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/scram.lua
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
commitcbbcbf6fda93217a647d58ecd6b8b08968338e59 (patch)
tree546ae7aca5970ae33953c9217a20516e871a173b /util/sasl/scram.lua
parentb3e191791374f0d1dede7837475ea65c941836dc (diff)
downloadprosody-cbbcbf6fda93217a647d58ecd6b8b08968338e59.tar.gz
prosody-cbbcbf6fda93217a647d58ecd6b8b08968338e59.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/sasl/scram.lua')
-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;
}