Diff

util/sasl/scram.lua @ 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
parent 10217:60b445183d84
child 10306:c0a94419c28e
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;
 }