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
3eef1c16
Commit
3eef1c16
authored
Sep 27, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
fe3e77d8
4a8d74a3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
config/ac-macros/yassl.m4
config/ac-macros/yassl.m4
+4
-3
extra/yassl/mySTL/vector.hpp
extra/yassl/mySTL/vector.hpp
+2
-1
extra/yassl/taocrypt/include/hmac.hpp
extra/yassl/taocrypt/include/hmac.hpp
+5
-5
No files found.
config/ac-macros/yassl.m4
View file @
3eef1c16
...
@@ -23,10 +23,11 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
...
@@ -23,10 +23,11 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
# System specific checks
# System specific checks
yassl_integer_extra_cxxflags=""
yassl_integer_extra_cxxflags=""
case $
SYSTEM_TYPE
--$CXX_VERSION in
case $
host_cpu
--$CXX_VERSION in
sparc*solaris
*--*Sun*C++*5.6*)
sparc
*--*Sun*C++*5.6*)
# Disable inlining when compiling taocrypt/src/integer.cpp
# Disable inlining when compiling taocrypt/src/integer.cpp
yassl_integer_extra_cxxflags="+d"
yassl_integer_extra_cxxflags="+d"
AC_MSG_NOTICE([disabling inlining for yassl/taocrypt/src/integer.cpp])
;;
;;
esac
esac
AC_SUBST([yassl_integer_extra_cxxflags])
AC_SUBST([yassl_integer_extra_cxxflags])
...
...
extra/yassl/mySTL/vector.hpp
View file @
3eef1c16
...
@@ -45,7 +45,8 @@ struct vector_base {
...
@@ -45,7 +45,8 @@ struct vector_base {
vector_base
()
:
start_
(
0
),
finish_
(
0
),
end_of_storage_
(
0
)
{}
vector_base
()
:
start_
(
0
),
finish_
(
0
),
end_of_storage_
(
0
)
{}
vector_base
(
size_t
n
)
vector_base
(
size_t
n
)
{
{
start_
=
static_cast
<
T
*>
(
malloc
(
n
*
sizeof
(
T
)));
// Don't allow malloc(0), if n is 0 use 1
start_
=
static_cast
<
T
*>
(
malloc
((
n
?
n
:
1
)
*
sizeof
(
T
)));
if
(
!
start_
)
abort
();
if
(
!
start_
)
abort
();
finish_
=
start_
;
finish_
=
start_
;
end_of_storage_
=
start_
+
n
;
end_of_storage_
=
start_
+
n
;
...
...
extra/yassl/taocrypt/include/hmac.hpp
View file @
3eef1c16
...
@@ -56,12 +56,12 @@ private:
...
@@ -56,12 +56,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