diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-06-22 20:54:15 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-06-22 20:54:15 +0100 |
commit | 02dddbbc8d09af7b841dcd4a3a6fecb600018528 (patch) | |
tree | c95a90ce3157fc032b54c76409e6dc84e1253942 /plugins/mod_auth_internal_hashed.lua | |
parent | 6cd96e612159b3b25c715551787bbcf79efc56e8 (diff) | |
download | prosody-02dddbbc8d09af7b841dcd4a3a6fecb600018528.tar.gz prosody-02dddbbc8d09af7b841dcd4a3a6fecb600018528.zip |
mod_auth_internal_hashed: Update TODO comments to COMPAT
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
-rw-r--r-- | plugins/mod_auth_internal_hashed.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua index da406e06..39a263dc 100644 --- a/plugins/mod_auth_internal_hashed.lua +++ b/plugins/mod_auth_internal_hashed.lua @@ -22,7 +22,7 @@ local new_sasl = require "util.sasl".new; 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 @@ function new_hashpass_provider(host) 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 @@ function new_hashpass_provider(host) 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); |