summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-05-05 18:10:53 +0200
committerSergei Golubchik <serg@mariadb.org>2020-05-08 11:51:03 +0200
commit403dc759d0bc5d045da06fb326cdf59b23084953 (patch)
tree159f9cada54d23a231c81f98fad2f8ef5a912d6e /include
parent8d85715d507de8937a181e999501e205ff3dca34 (diff)
downloadmariadb-git-403dc759d0bc5d045da06fb326cdf59b23084953.tar.gz
Update WolfSSL
Fix WolfSSL build: - Do not build with TLSv1.0,it stopped working,at least with SChannel client - Disable a test that depends on TLSv1.0 - define FP_MAX_BITS always, to fix 32bit builds. - Increase MAX_AES_CTX_SIZE, to fix build on Linux
Diffstat (limited to 'include')
-rw-r--r--include/mysql/service_my_crypt.h2
-rw-r--r--include/ssl_compat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql/service_my_crypt.h b/include/mysql/service_my_crypt.h
index 039125066ca..930d12a7dd1 100644
--- a/include/mysql/service_my_crypt.h
+++ b/include/mysql/service_my_crypt.h
@@ -45,7 +45,7 @@ extern "C" {
/* The max key length of all supported algorithms */
#define MY_AES_MAX_KEY_LENGTH 32
-#define MY_AES_CTX_SIZE 600
+#define MY_AES_CTX_SIZE 640
enum my_aes_mode {
MY_AES_ECB, MY_AES_CBC
diff --git a/include/ssl_compat.h b/include/ssl_compat.h
index cff5f7ef3de..8cc0e6a9a2b 100644
--- a/include/ssl_compat.h
+++ b/include/ssl_compat.h
@@ -81,8 +81,8 @@
#ifndef HAVE_WOLFSSL
#define EVP_MD_CTX_reset(X) EVP_MD_CTX_cleanup(X)
-#endif
#define EVP_CIPHER_CTX_reset(X) EVP_CIPHER_CTX_cleanup(X)
+#endif
#define X509_get0_notBefore(X) X509_get_notBefore(X)
#define X509_get0_notAfter(X) X509_get_notAfter(X)
#endif