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
b763679f
Commit
b763679f
authored
May 25, 2005
by
svoj@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#2286 - Compile MySQL w/YASSL support
Merge with latest yaSSL, fix compilation error for SSE2 processors.
parent
5a8cfc15
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
10 deletions
+16
-10
extra/yassl/include/yassl_int.hpp
extra/yassl/include/yassl_int.hpp
+4
-2
extra/yassl/src/log.cpp
extra/yassl/src/log.cpp
+3
-3
extra/yassl/src/yassl_int.cpp
extra/yassl/src/yassl_int.cpp
+5
-4
extra/yassl/taocrypt/include/integer.hpp
extra/yassl/taocrypt/include/integer.hpp
+1
-1
extra/yassl/taocrypt/src/integer.cpp
extra/yassl/taocrypt/src/integer.cpp
+3
-0
No files found.
extra/yassl/include/yassl_int.hpp
View file @
b763679f
...
...
@@ -122,7 +122,8 @@ public:
friend
sslFactory
&
GetSSL_Factory
();
// singleton creator
private:
static
sslFactory
instance
;
static
sslFactory
instance_
;
sslFactory
(
const
sslFactory
&
);
// hide copy
sslFactory
&
operator
=
(
const
sslFactory
&
);
// and assign
};
...
...
@@ -207,9 +208,10 @@ public:
friend
Sessions
&
GetSessions
();
// singleton creator
private:
static
Sessions
instance_
;
Sessions
(
const
Sessions
&
);
// hide copy
Sessions
&
operator
=
(
const
Sessions
&
);
// and assign
static
Sessions
instance
;
};
...
...
extra/yassl/src/log.cpp
View file @
b763679f
...
...
@@ -26,9 +26,9 @@
#include "log.hpp"
#ifdef YASSL_LOG
#include <
ctime
>
#include <
cstdio
>
#include <
cstring
>
#include <
time.h
>
#include <
stdio.h
>
#include <
string.h
>
#endif
...
...
extra/yassl/src/yassl_int.cpp
View file @
b763679f
...
...
@@ -1324,18 +1324,19 @@ SSL_SESSION::~SSL_SESSION()
}
Sessions
Sessions
::
instance
;
// simple singleton
Sessions
Sessions
::
instance
_
;
// simple singleton
Sessions
&
GetSessions
()
{
return
Sessions
::
instance
;
return
Sessions
::
instance
_
;
}
sslFactory
sslFactory
::
instance
;
sslFactory
sslFactory
::
instance_
;
// simple singleton
sslFactory
&
GetSSL_Factory
()
{
return
sslFactory
::
instance
;
return
sslFactory
::
instance
_
;
}
...
...
extra/yassl/taocrypt/include/integer.hpp
View file @
b763679f
...
...
@@ -251,11 +251,11 @@ public:
private:
friend
class
ModularArithmetic
;
friend
class
MontgomeryRepresentation
;
Integer
(
word
value
,
unsigned
int
length
);
static
const
Integer
zero
;
static
const
Integer
one
;
static
const
Integer
two
;
Integer
(
word
value
,
unsigned
int
length
);
int
PositiveCompare
(
const
Integer
&
t
)
const
;
friend
void
PositiveAdd
(
Integer
&
sum
,
const
Integer
&
a
,
const
Integer
&
b
);
...
...
extra/yassl/taocrypt/src/integer.cpp
View file @
b763679f
...
...
@@ -3948,6 +3948,9 @@ Integer CRT(const Integer &xp, const Integer &p, const Integer &xq,
#ifdef __GNUC__
template
unsigned
int
DivideThreeWordsByTwo
<
unsigned
int
,
DWord
>(
unsigned
int
*
,
unsigned
int
,
unsigned
int
,
DWord
*
);
#if defined(SSE2_INTRINSICS_AVAILABLE)
template
AlignedAllocator
<
unsigned
int
>
::
pointer
StdReallocate
<
unsigned
int
,
AlignedAllocator
<
unsigned
int
>
>
(
AlignedAllocator
<
unsigned
int
>&
,
unsigned
int
*
,
AlignedAllocator
<
unsigned
int
>::
size_type
,
AlignedAllocator
<
unsigned
int
>::
size_type
,
bool
);
#endif
#endif
}
// namespace
...
...
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