diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-25 23:03:02 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-25 23:03:02 +0200 |
commit | f465ec8c45d1ff2371d9ccdf7144173b2797bca5 (patch) | |
tree | b8f3454983bd1d1bb143ca33d864a422363843be /cmake | |
parent | 88b7926ff845f4bd3d5794008ae75f35f442cfbd (diff) | |
download | mariadb-git-f465ec8c45d1ff2371d9ccdf7144173b2797bca5.tar.gz |
Lets pretend that WolfSSL does not support AES-CTR
In Wolfcrypt, output length after CTR encryption is not the same
as input length. This is different from openssl and this makes unit test
aes-t fail.
So disable CTR for now.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/ssl.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake index 0d2570f1336..7a571171eaf 100644 --- a/cmake/ssl.cmake +++ b/cmake/ssl.cmake @@ -56,7 +56,7 @@ MACRO (MYSQL_USE_BUNDLED_SSL) SET(SSL_INCLUDE_DIRS ${INC_DIRS}) SET(SSL_DEFINES "-DHAVE_OPENSSL -DHAVE_WOLFSSL -DOPENSSL_ALL -DWOLFSSL_MYSQL_COMPATIBLE -DWC_NO_HARDEN") SET(HAVE_ERR_remove_thread_state ON CACHE INTERNAL "wolfssl doesn't have ERR_remove_thread_state") - SET(HAVE_EncryptAes128Ctr ON CACHE INTERNAL "wolfssl does support AES-CTR") + SET(HAVE_EncryptAes128Ctr OFF CACHE INTERNAL "wolfssl does support AES-CTR, but differently from openssl") SET(HAVE_EncryptAes128Gcm OFF CACHE INTERNAL "wolfssl does not support AES-GCM") SET(HAVE_X509_check_host ON CACHE INTERNAL "wolfssl does support X509_check_host") CHANGE_SSL_SETTINGS("bundled") |