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/MySQL/MySQLGridData.cs | |
parent | more warnings to go. (diff) | |
download | opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.zip opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.gz opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.bz2 opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.xz |
last round of warning squashing. calling it a day now.
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 | } |