aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTom2011-01-26 12:47:43 -0800
committerTom2011-01-26 12:47:43 -0800
commit63dcd44e8727a4e264feaf2d981c70bbfa209811 (patch)
treeecdf7eaf0a5f7c214db7274af3c1708f39171569 /OpenSim/Region
parentMake llSHA1Hash SL compatible when using characters like the euro symbol (€) (diff)
downloadopensim-SC-63dcd44e8727a4e264feaf2d981c70bbfa209811.zip
opensim-SC-63dcd44e8727a4e264feaf2d981c70bbfa209811.tar.gz
opensim-SC-63dcd44e8727a4e264feaf2d981c70bbfa209811.tar.bz2
opensim-SC-63dcd44e8727a4e264feaf2d981c70bbfa209811.tar.xz
Provide an SL compatible llMD5String function across all platforms
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1ccf76e..45af13a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6939,7 +6939,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6939 public LSL_String llMD5String(string src, int nonce) 6939 public LSL_String llMD5String(string src, int nonce)
6940 { 6940 {
6941 m_host.AddScriptLPS(1); 6941 m_host.AddScriptLPS(1);
6942 return Util.Md5Hash(String.Format("{0}:{1}", src, nonce.ToString())); 6942 return Util.Md5Hash(String.Format("{0}:{1}", src, nonce.ToString()), Encoding.UTF8);
6943 } 6943 }
6944 6944
6945 public LSL_String llSHA1String(string src) 6945 public LSL_String llSHA1String(string src)