Software / code / prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
| 10294:b61a7173f838 | 10295:9b662488d726 |
|---|---|
| 267 end | 267 end |
| 268 | 268 |
| 269 return { | 269 return { |
| 270 get_hash = get_scram_hasher; | 270 get_hash = get_scram_hasher; |
| 271 hashers = auth_db_getters; | 271 hashers = auth_db_getters; |
| 272 getAuthenticationDatabaseSHA1 = get_scram_hasher(hashes.sha1, hashes.sha256, hashes.pbkdf2_hmac_sha1); | 272 getAuthenticationDatabaseSHA1 = get_scram_hasher(hashes.sha1, hashes.hmac_sha1, hashes.pbkdf2_hmac_sha1); -- COMPAT |
| 273 init = init; | 273 init = init; |
| 274 } | 274 } |