Update copyright date.
authormsheby <msheby@cinecert.com>
Thu, 25 Oct 2007 19:03:38 +0000 (19:03 +0000)
committermsheby <>
Thu, 25 Oct 2007 19:03:38 +0000 (19:03 +0000)
src/AS_DCP_AES.cpp
src/KM_fileio.h
src/h__Writer.cpp

index 84229d5fd9268e107df099dfa9362554d4ab66ce..cd3e41bbee1b12881c9796080790ecb0368ab0e3 100755 (executable)
@@ -338,7 +338,7 @@ public:
     SHA_CTX SHA;
     SHA1_Init(&SHA);
 
-    byte_t xor_buf[KeyLen];
+    byte_t xor_buf[B_len];
     ui32_t i = 0;
 
     for ( ; i < KeyLen; i++ )
@@ -348,14 +348,14 @@ public:
       {
        for ( ; i < B_len; i++ )
          xor_buf[i] = 0 ^ opad[0];
-       
+
        SHA1_Update(&m_SHA, xor_buf, B_len);
       }
     else
       {
        SHA1_Update(&m_SHA, xor_buf, KeyLen);
       }
-
+    
     SHA1_Update(&SHA, xor_buf, KeyLen);
     SHA1_Update(&SHA, m_SHAValue, HMAC_SIZE);
 
index ce4167289ae5f915d220d1a5672773f50deff344..58a27099cf00d4184f307069a729877914973c42 100755 (executable)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2004-2006, John Hurst
+Copyright (c) 2004-2007, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
index 06d81c0da6fa6b861fb78a5ae9f43769773d46be..4e5bafeb9599f2423185672817e50a7828b32793 100755 (executable)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2004-2006, John Hurst
+Copyright (c) 2004-2007, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without