[bugfix]667855 - Fix handling of oracle raw data types sanely.
[mono.git] / mcs / class / Mono.Security / Mono.Security.Cryptography / MD2Managed.cs
index 8ceb6bc9ea9c8e05c40ef7f654c4ff3a1d0bca0e..be0022364246960cc8089114837d139f5adba257 100644 (file)
@@ -5,7 +5,7 @@
 //     Sebastien Pouliot (sebastien@ximian.com)
 //
 // (C) 2001-2003 Motus Technologies Inc. (http://www.motus.com)
-// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005,2010 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -120,7 +120,7 @@ namespace Mono.Security.Cryptography {
 
                                for (i = partLen; i + 15 < cbSize; i += 16) {
                                        // MD2Transform (context->state, context->checksum, &input[i]);
-                                       MD2Transform (state, checksum, array, i);
+                                       MD2Transform (state, checksum, array, ibStart + i);
                                }
 
                                index = 0;