MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:msvensson Date:September 26 2005 10:25am
Subject:bk commit into 5.0 tree (msvensson:1.1970) BUG#13476
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1970 05/09/26 12:25:08 msvensson@neptunus.(none) +1 -0
  Bug #13476  	yassl: openserv compile failure

  extra/yassl/taocrypt/include/hmac.hpp
    1.3 05/09/26 12:25:04 msvensson@neptunus.(none) +5 -5
    Rename BSIZE to HMAC_BSIZE to avoid conflict with BSIZE on "openserv 3.2 5.0.7" 

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/bug13476/my50-bug13476

--- 1.2/extra/yassl/taocrypt/include/hmac.hpp	2005-06-10 17:09:35 +02:00
+++ 1.3/extra/yassl/taocrypt/include/hmac.hpp	2005-09-26 12:25:04 +02:00
@@ -56,12 +56,12 @@
     T     mac_;
 
     // MSVC 6 HACK, gives compiler error if calculated in array
-    enum { BSIZE = T::BLOCK_SIZE  / sizeof(word32),
-           DSIZE = T::DIGEST_SIZE / sizeof(word32) };
+    enum { HMAC_BSIZE = T::BLOCK_SIZE  / sizeof(word32),
+           HMAC_DSIZE = T::DIGEST_SIZE / sizeof(word32) };
 
-    word32 ip_[BSIZE];          // align ipad_ on word32
-    word32 op_[BSIZE];          // align opad_ on word32
-    word32 innerH_[DSIZE];      // align innerHash_ on word32
+    word32 ip_[HMAC_BSIZE];          // align ipad_ on word32
+    word32 op_[HMAC_BSIZE];          // align opad_ on word32
+    word32 innerH_[HMAC_DSIZE];      // align innerHash_ on word32
 
     void KeyInnerHash();
 
Thread
bk commit into 5.0 tree (msvensson:1.1970) BUG#13476msvensson26 Sep