Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
552cc551
Commit
552cc551
authored
Oct 18, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge 192.168.0.4:mysql/mysql-5.1-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
parents
16415930
a5bfbd2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
extra/yassl/include/yassl_int.hpp
extra/yassl/include/yassl_int.hpp
+7
-0
extra/yassl/taocrypt/include/hmac.hpp
extra/yassl/taocrypt/include/hmac.hpp
+5
-5
No files found.
extra/yassl/include/yassl_int.hpp
View file @
552cc551
...
...
@@ -40,6 +40,13 @@
#include "lock.hpp"
#include "openssl/ssl.h" // ASN1_STRING and DH
// Check if _POSIX_THREADS should be forced
#if !defined(_POSIX_THREADS) && (defined(__NETWARE__) || defined(__hpux))
// HPUX does not define _POSIX_THREADS as it's not _fully_ implemented
// Netware supports pthreads but does not announce it
#define _POSIX_THREADS
#endif
#ifdef _POSIX_THREADS
#include <pthread.h>
#endif
...
...
extra/yassl/taocrypt/include/hmac.hpp
View file @
552cc551
...
...
@@ -60,12 +60,12 @@ private:
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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment