diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLGridData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLGridData.cs b/OpenSim/Data/MSSQL/MSSQLGridData.cs index d67e463..e2b0dd6 100644 --- a/OpenSim/Data/MSSQL/MSSQLGridData.cs +++ b/OpenSim/Data/MSSQL/MSSQLGridData.cs | |||
@@ -434,11 +434,11 @@ namespace OpenSim.Data.MSSQL | |||
434 | /// <returns></returns> | 434 | /// <returns></returns> |
435 | public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) | 435 | public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) |
436 | { | 436 | { |
437 | SHA512Managed HashProvider = new SHA512Managed(); | 437 | // SHA512Managed HashProvider = new SHA512Managed(); |
438 | Encoding TextProvider = new UTF8Encoding(); | 438 | // Encoding TextProvider = new UTF8Encoding(); |
439 | 439 | ||
440 | byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); | 440 | // byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); |
441 | byte[] hash = HashProvider.ComputeHash(stream); | 441 | // byte[] hash = HashProvider.ComputeHash(stream); |
442 | return false; | 442 | return false; |
443 | } | 443 | } |
444 | 444 | ||