diff dcrypt/crypto/BlockCipherPadding.d @ 35:6b2c35b84186 0.1

Removed a D2 version statement from the BlockCipherPadding class. Minor consistency correction to the PKCS7 class. Glenn Haecker reports dcrypt now compiles successfully with D2.
author Thomas Dixon <reikon@reikon.us>
date Thu, 14 May 2009 17:46:11 -0400
parents 2b4bccdc8387
children
line wrap: on
line diff
--- a/dcrypt/crypto/BlockCipherPadding.d	Thu May 14 05:31:58 2009 -0400
+++ b/dcrypt/crypto/BlockCipherPadding.d	Thu May 14 17:46:11 2009 -0400
@@ -38,13 +38,5 @@
     *         pad length cannot be discerned.
     */
     uint unpad(void[] input_);
-     
-    /** Play nice with D2's idea of const. */
-    version (D_Version2)
-    {
-        uint unpad(string input_)
-        {
-            return unpad(cast(ubyte[])input_);
-        }
-    }
+    
  }