New tests.
[mono.git] / mcs / class / corlib / System.Security.Cryptography / SHA512.cs
index a99165fdce0edaec6783baaa043b886032f81085..00baef00d084cc62d6143499109c145893b2798c 100644 (file)
@@ -7,11 +7,7 @@
 //\r
 // Copyright 2001 by Matthew S. Ford.\r
 // Portions (C) 2002 Motus Technologies Inc. (http://www.motus.com)\r
-// (C) 2004 Novell (http://www.novell.com)
-//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2006 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
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+
+#if !MOONLIGHT
+
+using System.Runtime.InteropServices;
 \r
 namespace System.Security.Cryptography {\r
 
+       [ComVisible (true)]
        public abstract class SHA512 : HashAlgorithm {\r
 
-               public SHA512 () \r
+               protected SHA512 ()
                {\r
                        HashSizeValue = 512;\r
                }\r
@@ -53,3 +54,5 @@ namespace System.Security.Cryptography {
                }\r
        }\r
 }\r
+#endif
+