aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteGridData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteGridData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGridData.cs b/OpenSim/Data/SQLite/SQLiteGridData.cs
index f07b98f..989ec77 100644
--- a/OpenSim/Data/SQLite/SQLiteGridData.cs
+++ b/OpenSim/Data/SQLite/SQLiteGridData.cs
@@ -224,7 +224,7 @@ namespace OpenSim.Data.SQLite
224 public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge) 224 public bool AuthenticateSim(LLUUID uuid, ulong handle, string authhash, string challenge)
225 { 225 {
226 SHA512Managed HashProvider = new SHA512Managed(); 226 SHA512Managed HashProvider = new SHA512Managed();
227 ASCIIEncoding TextProvider = new ASCIIEncoding(); 227 Encoding TextProvider = new UTF8Encoding();
228 228
229 byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge); 229 byte[] stream = TextProvider.GetBytes(uuid.ToString() + ":" + handle.ToString() + ":" + challenge);
230 byte[] hash = HashProvider.ComputeHash(stream); 230 byte[] hash = HashProvider.ComputeHash(stream);