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
6a46bf82
Commit
6a46bf82
authored
Jun 05, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge anna@bk-internal.mysql.com:/home/bk/mysql-5.0
into hasky.mysql.fi:/home/anjuta/my/mysql-5.0
parents
4d8dacbd
a2035e16
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
81 additions
and
38 deletions
+81
-38
extra/yassl/README
extra/yassl/README
+13
-3
extra/yassl/include/openssl/engine.h
extra/yassl/include/openssl/engine.h
+5
-0
extra/yassl/include/openssl/pkcs12.h
extra/yassl/include/openssl/pkcs12.h
+5
-0
extra/yassl/src/handshake.cpp
extra/yassl/src/handshake.cpp
+24
-6
mysql-test/r/create.result
mysql-test/r/create.result
+0
-14
mysql-test/r/create_not_windows.result
mysql-test/r/create_not_windows.result
+14
-0
mysql-test/t/create.test
mysql-test/t/create.test
+0
-15
mysql-test/t/create_not_windows.test
mysql-test/t/create_not_windows.test
+20
-0
No files found.
extra/yassl/README
View file @
6a46bf82
yaSSL Release notes, version 1.3.0 (04/26/06)
yaSSL Release notes, version 1.3.5 (06/01/06)
This release of yaSSL contains bug fixes, portability enhancements,
better libcurl support, and improved non-blocking I/O.
See normal build instructions below under 1.0.6.
See libcurl build instructions below under 1.3.0.
********************yaSSL Release notes, version 1.3.0 (04/26/06)
This release of yaSSL contains minor bug fixes, portability enhancements,
This release of yaSSL contains minor bug fixes, portability enhancements,
...
@@ -17,8 +27,8 @@ See normal build instructions below under 1.0.6.
...
@@ -17,8 +27,8 @@ See normal build instructions below under 1.0.6.
make
make
make openssl-links
make openssl-links
(then go to your libcurl home and tell libcurl about yaSSL)
(then go to your libcurl home and tell libcurl about yaSSL
build dir
)
./configure --with-ssl=/yaSSL-
HomeDir
./configure --with-ssl=/yaSSL-
BuildDir LDFLAGS=-lm
make
make
...
...
extra/yassl/include/openssl/engine.h
0 → 100644
View file @
6a46bf82
/* engine.h for libcurl */
#undef HAVE_OPENSSL_ENGINE_H
extra/yassl/include/openssl/pkcs12.h
0 → 100644
View file @
6a46bf82
/* pkcs12.h for libcurl */
#undef HAVE_OPENSSL_PKCS12_H
extra/yassl/src/handshake.cpp
View file @
6a46bf82
...
@@ -458,6 +458,11 @@ void ProcessOldClientHello(input_buffer& input, SSL& ssl)
...
@@ -458,6 +458,11 @@ void ProcessOldClientHello(input_buffer& input, SSL& ssl)
uint16
sz
=
((
b0
&
0x7f
)
<<
8
)
|
b1
;
uint16
sz
=
((
b0
&
0x7f
)
<<
8
)
|
b1
;
if
(
sz
>
input
.
get_remaining
())
{
ssl
.
SetError
(
bad_input
);
return
;
}
// hashHandShake manually
// hashHandShake manually
const
opaque
*
buffer
=
input
.
get_buffer
()
+
input
.
get_current
();
const
opaque
*
buffer
=
input
.
get_buffer
()
+
input
.
get_current
();
ssl
.
useHashes
().
use_MD5
().
update
(
buffer
,
sz
);
ssl
.
useHashes
().
use_MD5
().
update
(
buffer
,
sz
);
...
@@ -681,25 +686,38 @@ DoProcessReply(SSL& ssl, mySTL::auto_ptr<input_buffer> buffered)
...
@@ -681,25 +686,38 @@ DoProcessReply(SSL& ssl, mySTL::auto_ptr<input_buffer> buffered)
// old style sslv2 client hello?
// old style sslv2 client hello?
if
(
ssl
.
getSecurity
().
get_parms
().
entity_
==
server_end
&&
if
(
ssl
.
getSecurity
().
get_parms
().
entity_
==
server_end
&&
ssl
.
getStates
().
getServer
()
==
clientNull
)
ssl
.
getStates
().
getServer
()
==
clientNull
)
if
(
buffer
.
peek
()
!=
handshake
)
if
(
buffer
.
peek
()
!=
handshake
)
{
ProcessOldClientHello
(
buffer
,
ssl
);
ProcessOldClientHello
(
buffer
,
ssl
);
if
(
ssl
.
GetError
())
{
buffered
.
reset
(
0
);
return
buffered
;
}
}
while
(
!
buffer
.
eof
())
{
while
(
!
buffer
.
eof
())
{
// each record
// each record
RecordLayerHeader
hdr
;
RecordLayerHeader
hdr
;
bool
needHdr
=
false
;
if
(
static_cast
<
uint
>
(
RECORD_HEADER
)
>
buffer
.
get_remaining
())
needHdr
=
true
;
else
{
buffer
>>
hdr
;
buffer
>>
hdr
;
ssl
.
verifyState
(
hdr
);
ssl
.
verifyState
(
hdr
);
}
// make sure we have enough input in buffer to process this record
// make sure we have enough input in buffer to process this record
if
(
hdr
.
length_
>
buffer
.
get_remaining
())
{
if
(
needHdr
||
hdr
.
length_
>
buffer
.
get_remaining
())
{
uint
sz
=
buffer
.
get_remaining
()
+
RECORD_HEADER
;
// put header in front for next time processing
uint
extra
=
needHdr
?
0
:
RECORD_HEADER
;
uint
sz
=
buffer
.
get_remaining
()
+
extra
;
buffered
.
reset
(
NEW_YS
input_buffer
(
sz
,
buffer
.
get_buffer
()
+
buffered
.
reset
(
NEW_YS
input_buffer
(
sz
,
buffer
.
get_buffer
()
+
buffer
.
get_current
()
-
RECORD_HEADER
,
sz
));
buffer
.
get_current
()
-
extra
,
sz
));
break
;
break
;
}
}
while
(
buffer
.
get_current
()
<
hdr
.
length_
+
RECORD_HEADER
+
offset
)
{
while
(
buffer
.
get_current
()
<
hdr
.
length_
+
RECORD_HEADER
+
offset
)
{
// each message in record
// each message in record
, can be more than 1 if not encrypted
if
(
ssl
.
getSecurity
().
get_parms
().
pending_
==
false
)
// cipher on
if
(
ssl
.
getSecurity
().
get_parms
().
pending_
==
false
)
// cipher on
decrypt_message
(
ssl
,
buffer
,
hdr
.
length_
);
decrypt_message
(
ssl
,
buffer
,
hdr
.
length_
);
mySTL
::
auto_ptr
<
Message
>
msg
(
mf
.
CreateObject
(
hdr
.
type_
),
ysDelete
);
mySTL
::
auto_ptr
<
Message
>
msg
(
mf
.
CreateObject
(
hdr
.
type_
),
ysDelete
);
...
@@ -717,7 +735,7 @@ DoProcessReply(SSL& ssl, mySTL::auto_ptr<input_buffer> buffered)
...
@@ -717,7 +735,7 @@ DoProcessReply(SSL& ssl, mySTL::auto_ptr<input_buffer> buffered)
}
}
offset
+=
hdr
.
length_
+
RECORD_HEADER
;
offset
+=
hdr
.
length_
+
RECORD_HEADER
;
}
}
return
buffered
;
// done, don't call again
return
buffered
;
}
}
...
...
mysql-test/r/create.result
View file @
6a46bf82
...
@@ -773,17 +773,3 @@ Warnings:
...
@@ -773,17 +773,3 @@ Warnings:
Warning 1071 Specified key was too long; max key length is 765 bytes
Warning 1071 Specified key was too long; max key length is 765 bytes
insert into t1 values('aaa');
insert into t1 values('aaa');
drop table t1;
drop table t1;
drop table if exists `about:text`;
create table `about:text` (
_id int not null auto_increment,
`about:text` varchar(255) not null default '',
primary key (_id)
);
show create table `about:text`;
Table Create Table
about:text CREATE TABLE `about:text` (
`_id` int(11) NOT NULL auto_increment,
`about:text` varchar(255) NOT NULL default '',
PRIMARY KEY (`_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table `about:text`;
mysql-test/r/create_not_windows.result
0 → 100644
View file @
6a46bf82
drop table if exists `about:text`;
create table `about:text` (
_id int not null auto_increment,
`about:text` varchar(255) not null default '',
primary key (_id)
);
show create table `about:text`;
Table Create Table
about:text CREATE TABLE `about:text` (
`_id` int(11) NOT NULL auto_increment,
`about:text` varchar(255) NOT NULL default '',
PRIMARY KEY (`_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table `about:text`;
mysql-test/t/create.test
View file @
6a46bf82
...
@@ -674,19 +674,4 @@ create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb
...
@@ -674,19 +674,4 @@ create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb
insert
into
t1
values
(
'aaa'
);
insert
into
t1
values
(
'aaa'
);
drop
table
t1
;
drop
table
t1
;
#
# Bug#19479:mysqldump creates invalid dump
#
--
disable_warnings
drop
table
if
exists
`about:text`
;
--
enable_warnings
create
table
`about:text`
(
_id
int
not
null
auto_increment
,
`about:text`
varchar
(
255
)
not
null
default
''
,
primary
key
(
_id
)
);
show
create
table
`about:text`
;
drop
table
`about:text`
;
# End of 5.0 tests
# End of 5.0 tests
mysql-test/t/create_not_windows.test
0 → 100644
View file @
6a46bf82
# Non-windows specific create tests.
--
source
include
/
not_windows
.
inc
#
# Bug#19479:mysqldump creates invalid dump
#
--
disable_warnings
drop
table
if
exists
`about:text`
;
--
enable_warnings
create
table
`about:text`
(
_id
int
not
null
auto_increment
,
`about:text`
varchar
(
255
)
not
null
default
''
,
primary
key
(
_id
)
);
show
create
table
`about:text`
;
drop
table
`about:text`
;
# End of 5.0 tests
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