diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGridData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGridData.cs b/OpenSim/Data/MySQL/MySQLGridData.cs index 7abc85a..bb71c99 100644 --- a/OpenSim/Data/MySQL/MySQLGridData.cs +++ b/OpenSim/Data/MySQL/MySQLGridData.cs | |||
@@ -402,11 +402,11 @@ namespace OpenSim.Data.MySQL | |||
402 | /// <returns></returns> | 402 | /// <returns></returns> |
403 | public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) | 403 | public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) |
404 | { | 404 | { |
405 | SHA512Managed HashProvider = new SHA512Managed(); | 405 | // SHA512Managed HashProvider = new SHA512Managed(); |
406 | Encoding TextProvider = new UTF8Encoding(); | 406 | // Encoding TextProvider = new UTF8Encoding(); |
407 | 407 | ||
408 | byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); | 408 | // byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); |
409 | byte[] hash = HashProvider.ComputeHash(stream); | 409 | // byte[] hash = HashProvider.ComputeHash(stream); |
410 | 410 | ||
411 | return false; | 411 | return false; |
412 | } | 412 | } |