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
f4ab12e8
Commit
f4ab12e8
authored
Mar 23, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
parents
85aa1bec
d8ab3024
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
extra/yassl/src/ssl.cpp
extra/yassl/src/ssl.cpp
+1
-1
extra/yassl/taocrypt/src/integer.cpp
extra/yassl/taocrypt/src/integer.cpp
+1
-1
extra/yassl/taocrypt/test/test.cpp
extra/yassl/taocrypt/test/test.cpp
+1
-2
extra/yassl/testsuite/testsuite.cpp
extra/yassl/testsuite/testsuite.cpp
+1
-1
No files found.
extra/yassl/src/ssl.cpp
View file @
f4ab12e8
...
@@ -954,7 +954,7 @@ void ERR_print_errors_fp(FILE* /*fp*/)
...
@@ -954,7 +954,7 @@ void ERR_print_errors_fp(FILE* /*fp*/)
char
*
ERR_error_string
(
unsigned
long
errNumber
,
char
*
buffer
)
char
*
ERR_error_string
(
unsigned
long
errNumber
,
char
*
buffer
)
{
{
static
char
*
msg
=
"Please supply a buffer for error string"
;
static
char
*
msg
=
(
char
*
)
"Please supply a buffer for error string"
;
if
(
buffer
)
{
if
(
buffer
)
{
SetErrorString
(
YasslError
(
errNumber
),
buffer
);
SetErrorString
(
YasslError
(
errNumber
),
buffer
);
...
...
extra/yassl/taocrypt/src/integer.cpp
View file @
f4ab12e8
...
@@ -3390,7 +3390,7 @@ void Integer::DivideByPowerOf2(Integer &r, Integer &q, const Integer &a,
...
@@ -3390,7 +3390,7 @@ void Integer::DivideByPowerOf2(Integer &r, Integer &q, const Integer &a,
CopyWords
(
r
.
reg_
.
get_buffer
(),
a
.
reg_
.
get_buffer
(),
wordCount
);
CopyWords
(
r
.
reg_
.
get_buffer
(),
a
.
reg_
.
get_buffer
(),
wordCount
);
SetWords
(
r
.
reg_
+
wordCount
,
0
,
r
.
reg_
.
size
()
-
wordCount
);
SetWords
(
r
.
reg_
+
wordCount
,
0
,
r
.
reg_
.
size
()
-
wordCount
);
if
(
n
%
WORD_BITS
!=
0
)
if
(
n
%
WORD_BITS
!=
0
)
r
.
reg_
[
wordCount
-
1
]
%=
(
1
<<
(
n
%
WORD_BITS
));
r
.
reg_
[
wordCount
-
1
]
%=
(
word
(
1
)
<<
(
n
%
WORD_BITS
));
}
}
else
else
{
{
...
...
extra/yassl/taocrypt/test/test.cpp
View file @
f4ab12e8
...
@@ -94,7 +94,6 @@ struct testVector {
...
@@ -94,7 +94,6 @@ struct testVector {
output_
((
byte
*
)
out
),
inLen_
(
strlen
(
in
)),
outLen_
(
strlen
(
out
))
{}
output_
((
byte
*
)
out
),
inLen_
(
strlen
(
in
)),
outLen_
(
strlen
(
out
))
{}
};
};
void
file_test
(
int
,
char
**
);
int
sha_test
();
int
sha_test
();
int
sha256_test
();
int
sha256_test
();
#ifdef WORD64_AVAILABLE
#ifdef WORD64_AVAILABLE
...
@@ -300,7 +299,7 @@ void taocrypt_test(void* args)
...
@@ -300,7 +299,7 @@ void taocrypt_test(void* args)
#endif // NO_MAIN_DRIVER
#endif // NO_MAIN_DRIVER
void
file_test
(
char
*
file
,
byte
*
check
)
void
file_test
(
c
onst
c
har
*
file
,
byte
*
check
)
{
{
FILE
*
f
;
FILE
*
f
;
int
i
(
0
);
int
i
(
0
);
...
...
extra/yassl/testsuite/testsuite.cpp
View file @
f4ab12e8
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
typedef
unsigned
char
byte
;
typedef
unsigned
char
byte
;
void
taocrypt_test
(
void
*
);
void
taocrypt_test
(
void
*
);
void
file_test
(
char
*
,
byte
*
);
void
file_test
(
c
onst
c
har
*
,
byte
*
);
void
client_test
(
void
*
);
void
client_test
(
void
*
);
void
echoclient_test
(
void
*
);
void
echoclient_test
(
void
*
);
...
...
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