diff dcrypt/crypto/hashes/SHA384.d @ 3:a5789a7b3b3b

Fixed error in hash copy() functions where I forgot to copy the length of the message. Now, twice as jank! =)
author Thomas Dixon <reikon@reikon.us>
date Thu, 14 Aug 2008 01:13:26 -0400
parents 71aae178f89a
children 5cb17e09d685
line wrap: on
line diff
--- a/dcrypt/crypto/hashes/SHA384.d	Wed Aug 13 22:01:19 2008 -0400
+++ b/dcrypt/crypto/hashes/SHA384.d	Thu Aug 14 01:13:26 2008 -0400
@@ -54,6 +54,7 @@
     
     SHA384 copy() {
         SHA384 h = new SHA384(buffer[0..index]);
+        h.bytes = bytes;
         h.h0 = h0;
         h.h1 = h1;
         h.h2 = h2;