Software /
code /
prosody
Changeset
3289:180a0b3b018d
mod_auth_internal_hashed: Update TODO comments to COMPAT
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 22 Jun 2010 20:54:15 +0100 |
parents | 3288:1a84d7d6f667 |
children | 3290:1eec2bd19bf7 |
files | plugins/mod_auth_internal_hashed.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_auth_internal_hashed.lua Tue Jun 22 20:52:43 2010 +0100 +++ b/plugins/mod_auth_internal_hashed.lua Tue Jun 22 20:54:15 2010 +0100 @@ -22,7 +22,7 @@ local nodeprep = require "util.encodings".stringprep.nodeprep; local hosts = hosts; --- TODO: remove these two lines in near future +-- COMPAT w/old trunk: remove these two lines before 0.8 release local hmac_sha1 = require "util.hmac".sha1; local sha1 = require "util.hashes".sha1; @@ -76,7 +76,7 @@ end -- convert hexpass to stored_key and server_key - -- TODO: remove this in near future + -- COMPAT w/old trunk: remove before 0.8 release if credentials.hashpass then local salted_password = from_hex(credentials.hashpass); credentials.stored_key = sha1(hmac_sha1(salted_password, "Client Key"), true); @@ -155,7 +155,7 @@ end -- convert hexpass to stored_key and server_key - -- TODO: remove this in near future + -- COMPAT w/old trunk: remove before 0.8 release if credentials.hashpass then local salted_password = from_hex(credentials.hashpass); credentials.stored_key = sha1(hmac_sha1(salted_password, "Client Key"), true);