# HG changeset patch # User Kim Alvefur # Date 1569784366 -7200 # Node ID 9b662488d7266849bf845e8809f47114317974b8 # Parent b61a7173f838972ddcde93866d674b002663c38d util.sasl.scram: Fix old API This function is not directly used by anything in Prosody anymore and should be considered deprecated. diff -r b61a7173f838 -r 9b662488d726 util/sasl/scram.lua --- a/util/sasl/scram.lua Sun Sep 29 20:48:58 2019 +0200 +++ b/util/sasl/scram.lua Sun Sep 29 21:12:46 2019 +0200 @@ -269,6 +269,6 @@ 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; }