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
dbbe3651
Commit
dbbe3651
authored
Nov 20, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
5.5 merge
parents
3c12c279
48f4961a
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
6 additions
and
4 deletions
+6
-4
extra/yassl/src/buffer.cpp
extra/yassl/src/buffer.cpp
+1
-1
mysql-test/r/openssl_6975,tlsv10.result
mysql-test/r/openssl_6975,tlsv10.result
+0
-0
mysql-test/r/openssl_6975,tlsv12.result
mysql-test/r/openssl_6975,tlsv12.result
+0
-0
mysql-test/suite.pm
mysql-test/suite.pm
+1
-1
mysql-test/t/openssl_6975.combinations
mysql-test/t/openssl_6975.combinations
+1
-1
mysql-test/t/openssl_6975.test
mysql-test/t/openssl_6975.test
+0
-0
vio/viossl.c
vio/viossl.c
+1
-1
vio/viosslfactories.c
vio/viosslfactories.c
+2
-0
No files found.
extra/yassl/src/buffer.cpp
View file @
dbbe3651
...
...
@@ -165,7 +165,7 @@ void input_buffer::set_error()
void
input_buffer
::
set_current
(
uint
i
)
{
if
(
error_
==
0
&&
i
&&
check
(
i
-
1
,
size_
)
==
0
)
if
(
error_
==
0
&&
(
i
==
0
||
check
(
i
-
1
,
size_
)
==
0
)
)
current_
=
i
;
else
error_
=
-
1
;
...
...
mysql-test/r/openssl
-poodle_6975,sslv3
.result
→
mysql-test/r/openssl
_6975,tlsv10
.result
View file @
dbbe3651
File moved
mysql-test/r/openssl
-poodle
_6975,tlsv12.result
→
mysql-test/r/openssl_6975,tlsv12.result
View file @
dbbe3651
File moved
mysql-test/suite.pm
View file @
dbbe3651
...
...
@@ -52,7 +52,7 @@ sub skip_combinations {
}
$skip
{'
include/check_ipv6.inc
'}
=
'
No IPv6
'
unless
ipv6_ok
();
$skip
{'
t/openssl
-poodle
_6975.test
'}
=
'
no or too old openssl
'
$skip
{'
t/openssl_6975.test
'}
=
'
no or too old openssl
'
unless
!
IS_WINDOWS
and
!
system
"
openssl ciphers TLSv1.2 2>&1 >/dev/null
";
%
skip
;
...
...
mysql-test/t/openssl
-poodle
_6975.combinations
→
mysql-test/t/openssl_6975.combinations
View file @
dbbe3651
[tlsv12]
loose-ssl-cipher=TLSv1.2
[
sslv3
]
[
tlsv10
]
loose-ssl-cipher=SSLv3
mysql-test/t/openssl
-poodle
_6975.test
→
mysql-test/t/openssl_6975.test
View file @
dbbe3651
File moved
vio/viossl.c
View file @
dbbe3651
...
...
@@ -288,7 +288,7 @@ int vio_ssl_close(Vio *vio)
break
;
default:
/* Shutdown failed */
DBUG_PRINT
(
"vio_error"
,
(
"SSL_shutdown() failed, error: %d"
,
SSL_get_error
(
ssl
,
r
)));
(
int
)
SSL_get_error
(
ssl
,
r
)));
break
;
}
}
...
...
vio/viosslfactories.c
View file @
dbbe3651
...
...
@@ -203,6 +203,8 @@ new_VioSSLFd(const char *key_file, const char *cert_file,
DBUG_RETURN
(
0
);
}
SSL_CTX_set_options
(
ssl_fd
->
ssl_context
,
SSL_OP_NO_SSLv2
|
SSL_OP_NO_SSLv3
);
/*
Set the ciphers that can be used
NOTE: SSL_CTX_set_cipher_list will return 0 if
...
...
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