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
7ffa801c
Commit
7ffa801c
authored
Jul 21, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-22221 Compile WolfSSL with TLSv1.3 support
parent
6a3e0009
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
extra/wolfssl/CMakeLists.txt
extra/wolfssl/CMakeLists.txt
+3
-1
extra/wolfssl/user_settings.h.in
extra/wolfssl/user_settings.h.in
+10
-0
No files found.
extra/wolfssl/CMakeLists.txt
View file @
7ffa801c
...
...
@@ -50,7 +50,9 @@ SET(WOLFSSL_SOURCES
${
WOLFSSL_SRCDIR
}
/tls.c
${
WOLFSSL_SRCDIR
}
/wolfio.c
${
WOLFSSL_SRCDIR
}
/ocsp.c
${
WOLFSSL_SRCDIR
}
/ssl.c
)
${
WOLFSSL_SRCDIR
}
/ssl.c
${
WOLFSSL_SRCDIR
}
/tls13.c
)
ADD_DEFINITIONS
(
-DWOLFSSL_LIB -DBUILDING_WOLFSSL
)
INCLUDE_DIRECTORIES
(
BEFORE
${
CMAKE_CURRENT_SOURCE_DIR
}
/wolfssl
)
...
...
extra/wolfssl/user_settings.h.in
View file @
7ffa801c
...
...
@@ -23,6 +23,16 @@
#define OPENSSL_ALL
#define WOLFSSL_ALLOW_TLSV10
#define NO_OLD_TIMEVAL_NAME
/* TLSv1.3 definitions (all needed to build) */
#define WOLFSSL_TLS13
#define HAVE_HKDF
#define HAVE_TLS_EXTENSIONS
#define HAVE_SUPPORTED_CURVES
#define HAVE_FFDHE_2048
#define WC_RSA_PSS
/* End of TLSv1.3 defines */
/*
FP_MAX_BITS is set high solely to satisfy ssl_8k_key.test
WolfSSL will use more stack space with it, with fastmath
...
...
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