diff options
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteGridData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGridData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGridData.cs b/OpenSim/Data/SQLite/SQLiteGridData.cs index 0d24a40..6fd7235 100644 --- a/OpenSim/Data/SQLite/SQLiteGridData.cs +++ b/OpenSim/Data/SQLite/SQLiteGridData.cs | |||
@@ -230,11 +230,11 @@ namespace OpenSim.Data.SQLite | |||
230 | /// <returns></returns> | 230 | /// <returns></returns> |
231 | public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) | 231 | public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) |
232 | { | 232 | { |
233 | SHA512Managed HashProvider = new SHA512Managed(); | 233 | // SHA512Managed HashProvider = new SHA512Managed(); |
234 | Encoding TextProvider = new UTF8Encoding(); | 234 | // Encoding TextProvider = new UTF8Encoding(); |
235 | 235 | ||
236 | byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); | 236 | // byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); |
237 | byte[] hash = HashProvider.ComputeHash(stream); | 237 | // byte[] hash = HashProvider.ComputeHash(stream); |
238 | 238 | ||
239 | return false; | 239 | return false; |
240 | } | 240 | } |