mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
replace obsolete code
This commit is contained in:
@@ -246,7 +246,7 @@ namespace OpenSim.Data.MySQL
|
||||
}
|
||||
|
||||
byte[] hash;
|
||||
using (HashAlgorithm hasher = new SHA256CryptoServiceProvider())
|
||||
using (HashAlgorithm hasher = SHA256.Create())
|
||||
hash = hasher.ComputeHash(asset.Data);
|
||||
|
||||
// m_log.DebugFormat(
|
||||
|
||||
Reference in New Issue
Block a user