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
f291fb72
Commit
f291fb72
authored
May 07, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/svoj/devel/mysql/test1-mysql-5.0
parents
a1494918
12380536
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
7 deletions
+15
-7
extra/yassl/include/yassl_int.hpp
extra/yassl/include/yassl_int.hpp
+2
-0
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
+4
-0
extra/yassl/taocrypt/src/integer.cpp
extra/yassl/taocrypt/src/integer.cpp
+4
-3
No files found.
extra/yassl/include/yassl_int.hpp
View file @
f291fb72
...
@@ -122,6 +122,7 @@ public:
...
@@ -122,6 +122,7 @@ public:
friend
sslFactory
&
GetSSL_Factory
();
// singleton creator
friend
sslFactory
&
GetSSL_Factory
();
// singleton creator
private:
private:
static
sslFactory
instance
;
sslFactory
(
const
sslFactory
&
);
// hide copy
sslFactory
(
const
sslFactory
&
);
// hide copy
sslFactory
&
operator
=
(
const
sslFactory
&
);
// and assign
sslFactory
&
operator
=
(
const
sslFactory
&
);
// and assign
};
};
...
@@ -208,6 +209,7 @@ public:
...
@@ -208,6 +209,7 @@ public:
private:
private:
Sessions
(
const
Sessions
&
);
// hide copy
Sessions
(
const
Sessions
&
);
// hide copy
Sessions
&
operator
=
(
const
Sessions
&
);
// and assign
Sessions
&
operator
=
(
const
Sessions
&
);
// and assign
static
Sessions
instance
;
};
};
...
...
extra/yassl/src/yassl_int.cpp
View file @
f291fb72
...
@@ -1346,17 +1346,18 @@ SSL_SESSION::~SSL_SESSION()
...
@@ -1346,17 +1346,18 @@ SSL_SESSION::~SSL_SESSION()
}
}
Sessions
Sessions
::
instance
;
// simple singleton
Sessions
&
GetSessions
()
Sessions
&
GetSessions
()
{
{
static
Sessions
instance
;
// simple singleton
return
Sessions
::
instance
;
return
instance
;
}
}
sslFactory
sslFactory
::
instance
;
sslFactory
&
GetSSL_Factory
()
sslFactory
&
GetSSL_Factory
()
{
{
static
sslFactory
instance
;
// simple singleton
return
sslFactory
::
instance
;
return
instance
;
}
}
...
...
extra/yassl/taocrypt/include/integer.hpp
View file @
f291fb72
...
@@ -258,6 +258,10 @@ private:
...
@@ -258,6 +258,10 @@ private:
Integer
(
word
value
,
unsigned
int
length
);
Integer
(
word
value
,
unsigned
int
length
);
static
const
Integer
zero
;
static
const
Integer
one
;
static
const
Integer
two
;
int
PositiveCompare
(
const
Integer
&
t
)
const
;
int
PositiveCompare
(
const
Integer
&
t
)
const
;
friend
void
PositiveAdd
(
Integer
&
sum
,
const
Integer
&
a
,
const
Integer
&
b
);
friend
void
PositiveAdd
(
Integer
&
sum
,
const
Integer
&
a
,
const
Integer
&
b
);
friend
void
PositiveSubtract
(
Integer
&
diff
,
const
Integer
&
a
,
friend
void
PositiveSubtract
(
Integer
&
diff
,
const
Integer
&
a
,
...
...
extra/yassl/taocrypt/src/integer.cpp
View file @
f291fb72
...
@@ -2844,23 +2844,24 @@ unsigned int Integer::Encode(byte* output, unsigned int outputLen,
...
@@ -2844,23 +2844,24 @@ unsigned int Integer::Encode(byte* output, unsigned int outputLen,
}
}
const
Integer
Integer
::
zero
(
1
,
2
);
const
Integer
&
Integer
::
Zero
()
const
Integer
&
Integer
::
Zero
()
{
{
static
const
Integer
zero
;
return
zero
;
return
zero
;
}
}
const
Integer
Integer
::
one
(
1
,
2
);
const
Integer
&
Integer
::
One
()
const
Integer
&
Integer
::
One
()
{
{
static
const
Integer
one
(
1
,
2
);
return
one
;
return
one
;
}
}
const
Integer
Integer
::
two
(
1
,
2
);
const
Integer
&
Integer
::
Two
()
const
Integer
&
Integer
::
Two
()
{
{
static
const
Integer
two
(
2
,
2
);
return
two
;
return
two
;
}
}
...
...
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