diff options
author | Dr Scofield | 2008-12-05 15:28:03 +0000 |
---|---|---|
committer | Dr Scofield | 2008-12-05 15:28:03 +0000 |
commit | bdffd56a454a5adebc2022d6f1c39f288e62c0d9 (patch) | |
tree | e6ecf91b2ccef7d5758979d339ccd69cbcf0c43f /OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs | |
parent | save file before commit is often useful (diff) | |
download | opensim-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.cs | 9 |
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). |