diff options
author | Dr Scofield | 2008-06-27 23:03:39 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 23:03:39 +0000 |
commit | 748f72326d9a295958bc9ba63bbb1a5d39030ef7 (patch) | |
tree | 58f2c9a5f6b8ffab5ad3621070aa17cb1c1e3e6b /OpenSim/Data/MSSQL/MSSQLGridData.cs | |
parent | more warnings to go. (diff) | |
download | opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.zip opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.gz opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.bz2 opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.xz |
last round of warning squashing. calling it a day now.
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLGridData.cs')
-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 | ||