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
70f1aa42
Commit
70f1aa42
authored
Jan 11, 2016
by
Yashwant Sahu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #22295186: CERTIFICATE VALIDATION BUG IN MYSQL MAY ALLOW MITM.
Test Fix
parent
13380bf8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysql-test/suite/auth_sec/t/cert_verify.test
mysql-test/suite/auth_sec/t/cert_verify.test
+2
-2
No files found.
mysql-test/suite/auth_sec/t/cert_verify.test
View file @
70f1aa42
...
...
@@ -25,7 +25,7 @@ if ($openssl == 'Rsa_public_key'){
--
source
include
/
wait_until_connected_again
.
inc
--
error
1
--
exec
$MYSQL
--
protocol
=
tcp
--
ssl
-
verify
-
server
-
cert
-
e
"SHOW STATUS like 'Ssl_version'"
--
exec
$MYSQL
--
protocol
=
tcp
--
ssl
-
ca
=
$MYSQL_TEST_DIR
/
std_data
/
ca
-
cert
-
verify
.
pem
--
ssl
-
verify
-
server
-
cert
-
e
"SHOW STATUS like 'Ssl_version'"
--
echo
#T2: Host name (localhost) as common name in the server certificate, server certificate verification should pass.
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
...
...
@@ -37,7 +37,7 @@ if ($openssl == 'Rsa_public_key'){
--
source
include
/
wait_until_connected_again
.
inc
--
replace_result
$tls_default
TLS_VERSION
--
exec
$MYSQL
--
protocol
=
tcp
--
ssl
-
verify
-
server
-
cert
-
e
"SHOW STATUS like 'Ssl_version'"
--
exec
$MYSQL
--
protocol
=
tcp
--
ssl
-
ca
=
$MYSQL_TEST_DIR
/
std_data
/
ca
-
cert
-
verify
.
pem
--
ssl
-
verify
-
server
-
cert
-
e
"SHOW STATUS like 'Ssl_version'"
--
echo
# restart server using restart
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
...
...
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