From 57ddb7894042229bbc5f14e9257068afcc6f8725 Mon Sep 17 00:00:00 2001 From: msheby Date: Thu, 25 Oct 2007 19:03:38 +0000 Subject: [PATCH] Update copyright date. --- src/AS_DCP_AES.cpp | 6 +++--- src/KM_fileio.h | 2 +- src/h__Writer.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AS_DCP_AES.cpp b/src/AS_DCP_AES.cpp index 84229d5..cd3e41b 100755 --- a/src/AS_DCP_AES.cpp +++ b/src/AS_DCP_AES.cpp @@ -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); diff --git a/src/KM_fileio.h b/src/KM_fileio.h index ce41672..58a2709 100755 --- a/src/KM_fileio.h +++ b/src/KM_fileio.h @@ -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 diff --git a/src/h__Writer.cpp b/src/h__Writer.cpp index 06d81c0..4e5bafe 100755 --- a/src/h__Writer.cpp +++ b/src/h__Writer.cpp @@ -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 -- 2.30.2