2007-04-24 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / corlib / System.Security.Cryptography / SHA384.cs
index 2240e862c5336a1fce452e3a8d3eb723c4038614..4ede5d50edf0be854f01a522877fd9d9378a6f31 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.
 //
+
+using System.Runtime.InteropServices;
 \r
 namespace System.Security.Cryptography {\r
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public abstract class SHA384 : HashAlgorithm {\r
 
-               public SHA384 () \r
+#if NET_2_0
+               protected SHA384 ()
+#else
+               public SHA384 ()
+#endif\r
                {\r
                        HashSizeValue = 384;\r
                }\r