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
5b0df743
Commit
5b0df743
authored
May 08, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WolfSSL fixes
remove Timeval workaround (not needed anymore). add template workaround. comments.
parent
403dc759
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
extra/wolfssl/user_settings.h.in
extra/wolfssl/user_settings.h.in
+1
-0
include/violite.h
include/violite.h
+2
-2
mysql-test/suite.pm
mysql-test/suite.pm
+2
-2
mysys_ssl/my_crypt.cc
mysys_ssl/my_crypt.cc
+2
-0
No files found.
extra/wolfssl/user_settings.h.in
View file @
5b0df743
...
...
@@ -20,6 +20,7 @@
#define WOLFSSL_AES_COUNTER
#define NO_WOLFSSL_STUB
#define OPENSSL_ALL
#undef WOLFSSL_ALLOW_TLSV10 /* see https://github.com/wolfSSL/wolfssl/issues/2960 */
#define NO_OLD_TIMEVAL_NAME
/*
FP_MAX_BITS is set high solely to satisfy ssl_8k_key.test
...
...
include/violite.h
View file @
5b0df743
...
...
@@ -146,9 +146,9 @@ int vio_getnameinfo(const struct sockaddr *sa,
/* Set yaSSL to use same type as MySQL do for socket handles */
typedef
my_socket
YASSL_SOCKET_T
;
#define YASSL_SOCKET_T_DEFINED
#define
Timeval WOLFSSL_Timeval
#define
template _template
/* bug in WolfSSL 4.4.0, see also my_crypt.cc */
#include <openssl/ssl.h>
#undef
Timeval
#undef
template
#include <openssl/err.h>
#ifdef DEPRECATED
#undef DEPRECATED
...
...
mysql-test/suite.pm
View file @
5b0df743
...
...
@@ -74,8 +74,8 @@ sub skip_combinations {
$skip
{'
main/ssl_verify_ip.test
'}
=
'
x509v3 support required
'
unless
$openssl_ver
ge
"
1.0.2
";
$skip
{'
main/tls_version1.test
'}
=
'
No TLSv1.0 support
'
if
$ssl_lib
=~
/WolfSSL/
;
$skip
{'
main/tls_version1.test
'}
=
'
https://github.com/wolfSSL/wolfssl/issues/2960
'
if
$ssl_lib
=~
/WolfSSL
4.4.0
/
;
%
skip
;
}
...
...
mysys_ssl/my_crypt.cc
View file @
5b0df743
...
...
@@ -18,7 +18,9 @@
#include <my_global.h>
#include <string.h>
#define template _template
/* bug in WolfSSL 4.4.0, see also violite.h */
#include <openssl/evp.h>
#undef template
#include <openssl/aes.h>
#include <openssl/err.h>
#include <openssl/rand.h>
...
...
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