diff dcrypt/crypto/macs/HMAC.d @ 26:176c933827a8

Implemented MD4. Refactored MD5. Replaced all instances of 'version (UnitTest)' with 'debug (UnitTest)'.
author Thomas Dixon <reikon@reikon.us>
date Sun, 01 Mar 2009 13:06:48 -0500
parents 4589f8c5eb3c
children 8b5eaf3c2979
line wrap: on
line diff
--- a/dcrypt/crypto/macs/HMAC.d	Thu Feb 19 19:35:43 2009 -0500
+++ b/dcrypt/crypto/macs/HMAC.d	Sun Mar 01 13:06:48 2009 -0500
@@ -13,7 +13,7 @@
 import dcrypt.crypto.params.SymmetricKey;
 import dcrypt.crypto.errors.NotInitializedError;
 
-version (UnitTest) {
+debug (UnitTest) {
     import dcrypt.crypto.hashes.SHA1;
 }
 
@@ -113,7 +113,7 @@
         return h;
     }
     
-    version (UnitTest) {
+    debug (UnitTest) {
         unittest {
             static char[][] test_keys = [
                 "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b",