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
1ecd0e07
Commit
1ecd0e07
authored
Jan 20, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation fixes for new wolfssl
parent
3155a643
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
include/ssl_compat.h
include/ssl_compat.h
+2
-0
include/violite.h
include/violite.h
+2
-0
No files found.
include/ssl_compat.h
View file @
1ecd0e07
...
@@ -79,7 +79,9 @@
...
@@ -79,7 +79,9 @@
#define EVP_CIPHER_CTX_encrypting(ctx) ((ctx)->encrypt)
#define EVP_CIPHER_CTX_encrypting(ctx) ((ctx)->encrypt)
#define EVP_CIPHER_CTX_SIZE sizeof(EVP_CIPHER_CTX)
#define EVP_CIPHER_CTX_SIZE sizeof(EVP_CIPHER_CTX)
#ifndef HAVE_WOLFSSL
#define EVP_MD_CTX_reset(X) EVP_MD_CTX_cleanup(X)
#define EVP_MD_CTX_reset(X) EVP_MD_CTX_cleanup(X)
#endif
#define EVP_CIPHER_CTX_reset(X) EVP_CIPHER_CTX_cleanup(X)
#define EVP_CIPHER_CTX_reset(X) EVP_CIPHER_CTX_cleanup(X)
#define X509_get0_notBefore(X) X509_get_notBefore(X)
#define X509_get0_notBefore(X) X509_get_notBefore(X)
#define X509_get0_notAfter(X) X509_get_notAfter(X)
#define X509_get0_notAfter(X) X509_get_notAfter(X)
...
...
include/violite.h
View file @
1ecd0e07
...
@@ -146,7 +146,9 @@ int vio_getnameinfo(const struct sockaddr *sa,
...
@@ -146,7 +146,9 @@ int vio_getnameinfo(const struct sockaddr *sa,
/* Set yaSSL to use same type as MySQL do for socket handles */
/* Set yaSSL to use same type as MySQL do for socket handles */
typedef
my_socket
YASSL_SOCKET_T
;
typedef
my_socket
YASSL_SOCKET_T
;
#define YASSL_SOCKET_T_DEFINED
#define YASSL_SOCKET_T_DEFINED
#define Timeval WOLFSSL_Timeval
#include <openssl/ssl.h>
#include <openssl/ssl.h>
#undef Timeval
#include <openssl/err.h>
#include <openssl/err.h>
enum
enum_ssl_init_error
enum
enum_ssl_init_error
...
...
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