try to make mono happy

LSLKeyTest
UbitUmarov 2016-08-22 08:35:39 +01:00
parent 9953dad3a9
commit a2c80b20d7
1 changed files with 3 additions and 3 deletions

View File

@ -705,9 +705,9 @@ namespace OpenSim.Framework
private static byte[] ComputeSHA1Hash(byte[] src) private static byte[] ComputeSHA1Hash(byte[] src)
{ {
SHA1CryptoServiceProvider SHA1 = new SHA1CryptoServiceProvider(); byte[] ret;
byte[] ret = SHA1.ComputeHash(src); using(SHA1CryptoServiceProvider SHA1 = new SHA1CryptoServiceProvider())
SHA1.Dispose(); ret = SHA1.ComputeHash(src);
return ret; return ret;
} }