Changeset

10295:9b662488d726

util.sasl.scram: Fix old API This function is not directly used by anything in Prosody anymore and should be considered deprecated.
author Kim Alvefur <zash@zash.se>
date Sun, 29 Sep 2019 21:12:46 +0200
parents 10294:b61a7173f838
children 10296:7072569044d4
files util/sasl/scram.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }