aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs
diff options
context:
space:
mode:
authorDr Scofield2008-12-05 15:28:03 +0000
committerDr Scofield2008-12-05 15:28:03 +0000
commitbdffd56a454a5adebc2022d6f1c39f288e62c0d9 (patch)
treee6ecf91b2ccef7d5758979d339ccd69cbcf0c43f /OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs
parentsave file before commit is often useful (diff)
downloadopensim-SC-bdffd56a454a5adebc2022d6f1c39f288e62c0d9.zip
opensim-SC-bdffd56a454a5adebc2022d6f1c39f288e62c0d9.tar.gz
opensim-SC-bdffd56a454a5adebc2022d6f1c39f288e62c0d9.tar.bz2
opensim-SC-bdffd56a454a5adebc2022d6f1c39f288e62c0d9.tar.xz
killing warnings, reformatting RemoteAdminPlugin
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs b/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs
index 8e88844..3ed9172 100644
--- a/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs
+++ b/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs
@@ -270,11 +270,10 @@ namespace OpenSim.Framework.Communications.Cache
270 // passphrase and salt value. The password will be created using 270 // passphrase and salt value. The password will be created using
271 // the specified hash algorithm. Password creation can be done in 271 // the specified hash algorithm. Password creation can be done in
272 // several iterations. 272 // several iterations.
273 PasswordDeriveBytes password = new PasswordDeriveBytes( 273 PasswordDeriveBytes password = new PasswordDeriveBytes(passPhrase,
274 passPhrase, 274 saltValueBytes,
275 saltValueBytes, 275 hashAlgorithm,
276 hashAlgorithm, 276 passwordIterations);
277 passwordIterations);
278 277
279 // Use the password to generate pseudo-random bytes for the encryption 278 // Use the password to generate pseudo-random bytes for the encryption
280 // key. Specify the size of the key in bytes (instead of bits). 279 // key. Specify the size of the key in bytes (instead of bits).