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:
friend
sslFactory
&
GetSSL_Factory
();
// singleton creator
private:
static
sslFactory
instance
;
sslFactory
(
const
sslFactory
&
);
// hide copy
sslFactory
&
operator
=
(
const
sslFactory
&
);
// and assign
};
...
...
@@ -208,6 +209,7 @@ public:
private:
Sessions
(
const
Sessions
&
);
// hide copy
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()
}
Sessions
Sessions
::
instance
;
// simple singleton
Sessions
&
GetSessions
()
{
static
Sessions
instance
;
// simple singleton
return
instance
;
return
Sessions
::
instance
;
}
sslFactory
sslFactory
::
instance
;
sslFactory
&
GetSSL_Factory
()
{
static
sslFactory
instance
;
// simple singleton
return
instance
;
return
sslFactory
::
instance
;
}
...
...
extra/yassl/taocrypt/include/integer.hpp
View file @
f291fb72
...
...
@@ -258,6 +258,10 @@ private:
Integer
(
word
value
,
unsigned
int
length
);
static
const
Integer
zero
;
static
const
Integer
one
;
static
const
Integer
two
;
int
PositiveCompare
(
const
Integer
&
t
)
const
;
friend
void
PositiveAdd
(
Integer
&
sum
,
const
Integer
&
a
,
const
Integer
&
b
);
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,
}
const
Integer
Integer
::
zero
(
1
,
2
);
const
Integer
&
Integer
::
Zero
()
{
static
const
Integer
zero
;
return
zero
;
}
const
Integer
Integer
::
one
(
1
,
2
);
const
Integer
&
Integer
::
One
()
{
static
const
Integer
one
(
1
,
2
);
return
one
;
}
const
Integer
Integer
::
two
(
1
,
2
);
const
Integer
&
Integer
::
Two
()
{
static
const
Integer
two
(
2
,
2
);
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