diff dcrypt/crypto/padding/PKCS7.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 ad687db713a4
children
line wrap: on
line diff
--- a/dcrypt/crypto/padding/PKCS7.d	Thu May 14 05:31:58 2009 -0400
+++ b/dcrypt/crypto/padding/PKCS7.d	Thu May 14 17:46:11 2009 -0400
@@ -25,7 +25,7 @@
     {
         ubyte[] output = new ubyte[len];
         
-        output[0..output.length] = cast(byte)len;
+        output[0..output.length] = cast(ubyte)len;
 
         return output;
     }