diff options
author | Kim Alvefur <zash@zash.se> | 2019-09-29 21:12:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-09-29 21:12:46 +0200 |
commit | a4f4107e5a258eb083d63acdb75f3f39bb39d34c (patch) | |
tree | 546ae7aca5970ae33953c9217a20516e871a173b | |
parent | c12eba925b1ec2e725920cc3870b41320415027d (diff) | |
download | prosody-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.
-rw-r--r-- | util/sasl/scram.lua | 2 |
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; } |