diff options
Diffstat (limited to 'Mono.Security.Cryptography/CryptoService.cs')
-rw-r--r-- | Mono.Security.Cryptography/CryptoService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Security.Cryptography/CryptoService.cs b/Mono.Security.Cryptography/CryptoService.cs index 013e001..dd9613f 100644 --- a/Mono.Security.Cryptography/CryptoService.cs +++ b/Mono.Security.Cryptography/CryptoService.cs @@ -146,7 +146,7 @@ namespace Mono.Cecil { using (var crypto_stream = new CryptoStream (Stream.Null, sha1, CryptoStreamMode.Write)) { for (int i = 0; i < buffers.Length; i++) { - crypto_stream.Write (buffers [0].buffer, 0, buffers [0].length); + crypto_stream.Write (buffers [i].buffer, 0, buffers [i].length); } } |