diff options
author | Justin Clarke Casey | 2008-09-15 20:50:57 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-15 20:50:57 +0000 |
commit | 2b9e115fd72ae7a014bbd8bd2911336fa6b9993e (patch) | |
tree | 6c0cb2f556a34458a9099d8f25820ccda2e2cb24 /OpenSim/Framework/Util.cs | |
parent | * Add "reset user password" command to user server (diff) | |
download | opensim-SC_OLD-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.zip opensim-SC_OLD-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.tar.gz opensim-SC_OLD-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.tar.bz2 opensim-SC_OLD-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.tar.xz |
* minor: eat up some yummy warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Util.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 333ab81..ec03d25 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -116,10 +116,6 @@ namespace OpenSim.Framework | |||
116 | 116 | ||
117 | # endregion | 117 | # endregion |
118 | 118 | ||
119 | public Util() | ||
120 | { | ||
121 | } | ||
122 | |||
123 | public static Random RandomClass | 119 | public static Random RandomClass |
124 | { | 120 | { |
125 | get { return randomClass; } | 121 | get { return randomClass; } |
@@ -256,6 +252,11 @@ namespace OpenSim.Framework | |||
256 | return epoch.AddSeconds(seconds); | 252 | return epoch.AddSeconds(seconds); |
257 | } | 253 | } |
258 | 254 | ||
255 | /// <summary> | ||
256 | /// Return an md5 hash of the given string | ||
257 | /// </summary> | ||
258 | /// <param name="pass"></param> | ||
259 | /// <returns></returns> | ||
259 | public static string Md5Hash(string pass) | 260 | public static string Md5Hash(string pass) |
260 | { | 261 | { |
261 | MD5 md5 = MD5CryptoServiceProvider.Create(); | 262 | MD5 md5 = MD5CryptoServiceProvider.Create(); |