New test.
[mono.git] / mcs / class / corlib / Mono.Security.Authenticode / AuthenticodeBase.cs
old mode 100755 (executable)
new mode 100644 (file)
index c2d609e..b8a6208
@@ -182,7 +182,7 @@ namespace Mono.Security.Authenticode {
                        }
                        else {
                                // hash the last part of the first (already in memory) block
-                               hash.TransformBlock (fileblock, pe, blockLength - pe, fileblock, 0);
+                               hash.TransformBlock (fileblock, pe, blockLength - pe, fileblock, pe);
 
                                // hash by blocks of 4096 bytes
                                long blocks = (n >> 12);