Mercurial > projects > dcrypt
changeset 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 | b1d9be1b3a34 |
children | fc97fffd106d |
files | dcrypt/crypto/BlockCipherPadding.d dcrypt/crypto/padding/PKCS7.d |
diffstat | 2 files changed, 2 insertions(+), 10 deletions(-) [+] |
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_); - } - } + }