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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b2a98c53
Commit
b2a98c53
authored
Oct 16, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/work/my50-work
into neptunus.(none):/home/msvensson/mysql/work/my51-work
parents
0d9046ca
85fb3817
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 @
b2a98c53
...
@@ -40,6 +40,13 @@
...
@@ -40,6 +40,13 @@
#include "lock.hpp"
#include "lock.hpp"
#include "openssl/ssl.h" // ASN1_STRING and DH
#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
#ifdef _POSIX_THREADS
#include <pthread.h>
#include <pthread.h>
#endif
#endif
...
...
extra/yassl/taocrypt/include/hmac.hpp
View file @
b2a98c53
...
@@ -60,12 +60,12 @@ private:
...
@@ -60,12 +60,12 @@ private:
T
mac_
;
T
mac_
;
// MSVC 6 HACK, gives compiler error if calculated in array
// MSVC 6 HACK, gives compiler error if calculated in array
enum
{
BSIZE
=
T
::
BLOCK_SIZE
/
sizeof
(
word32
),
enum
{
HMAC_
BSIZE
=
T
::
BLOCK_SIZE
/
sizeof
(
word32
),
DSIZE
=
T
::
DIGEST_SIZE
/
sizeof
(
word32
)
};
HMAC_
DSIZE
=
T
::
DIGEST_SIZE
/
sizeof
(
word32
)
};
word32
ip_
[
BSIZE
];
// align ipad_ on word32
word32
ip_
[
HMAC_
BSIZE
];
// align ipad_ on word32
word32
op_
[
BSIZE
];
// align opad_ on word32
word32
op_
[
HMAC_
BSIZE
];
// align opad_ on word32
word32
innerH_
[
DSIZE
];
// align innerHash_ on word32
word32
innerH_
[
HMAC_
DSIZE
];
// align innerHash_ on word32
void
KeyInnerHash
();
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