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/SQLite/SQLiteGridData.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/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 | } |