X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FMono.Security%2FMono.Security.Cryptography%2FMD2Managed.cs;h=be0022364246960cc8089114837d139f5adba257;hb=1239b13d1aaa03895f1649381a707f5b350a8d5c;hp=8ceb6bc9ea9c8e05c40ef7f654c4ff3a1d0bca0e;hpb=881f83658281916d8f0784df7c726ecb7cc289db;p=mono.git diff --git a/mcs/class/Mono.Security/Mono.Security.Cryptography/MD2Managed.cs b/mcs/class/Mono.Security/Mono.Security.Cryptography/MD2Managed.cs index 8ceb6bc9ea9..be002236424 100644 --- a/mcs/class/Mono.Security/Mono.Security.Cryptography/MD2Managed.cs +++ b/mcs/class/Mono.Security/Mono.Security.Cryptography/MD2Managed.cs @@ -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;