TARGET_J2EE/JVM fixes
[mono.git] / mcs / class / corlib / System.Security.Cryptography / HMACRIPEMD160.cs
index 379917e0315bfbb016726966521dcae7a468268a..88295ca934c0ddf0ef0f74c0e7d0568a2fbc5c9d 100644 (file)
@@ -2,13 +2,10 @@
 // HMACRIPEMD160.cs: HMAC implementation using RIPEMD160
 //
 // Author:
-//     Sebastien Pouliot (spouliot@motus.com)
+//     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 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
 
 #if NET_2_0
 
-using System;
+using System.Runtime.InteropServices;
 
 using Mono.Security.Cryptography;
 
 namespace System.Security.Cryptography {
 
+       [ComVisible (true)]
        public class HMACRIPEMD160 : HMAC {
 
-               public HMACRIPEMD160 () : this (KeyBuilder.Key (8)) {}
+               public HMACRIPEMD160 () 
+                       : this (KeyBuilder.Key (8))
+               {
+               }
 
                public HMACRIPEMD160 (byte[] rgbKey) : base () 
                {
@@ -48,12 +49,7 @@ namespace System.Security.Cryptography {
                        HashSizeValue = 160;
                        Key = rgbKey;
                }
-
-               ~HMACRIPEMD160 () 
-               {
-                       Dispose (false);
-               }
        }
 }
 
-#endif
\ No newline at end of file
+#endif