2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
[mono.git] / mcs / class / corlib / System.Security.Cryptography / MACTripleDES.cs
index 303de11c82e26f6b805a65cd38b1a12cc0967b86..89089707fdf385ee3e807cde56ef0c4ff9e574b3 100644 (file)
@@ -27,7 +27,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if !NET_2_1
+#if !MOONLIGHT
 
 using System.Runtime.InteropServices;
 
@@ -41,9 +41,7 @@ namespace System.Security.Cryptography {
        //      http://www.itl.nist.gov/fipspubs/fip81.htm
        
        // LAMESPEC: MACTripleDES == MAC-CBC using TripleDES (not MAC-CFB).
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public class MACTripleDES: KeyedHashAlgorithm {
        
                private TripleDES tdes;
@@ -96,13 +94,11 @@ namespace System.Security.Cryptography {
                        Dispose (false);
                }
 
-#if NET_2_0
                [ComVisible (false)]
                public PaddingMode Padding {
                        get { return tdes.Padding; }
                        set { tdes.Padding = value; }
                }
-#endif
 
                protected override void Dispose (bool disposing) 
                {