mariadb/mysys_ssl
Marko Mäkelä fc168c3a5e MDEV-15587 AES test fails, segfaults in EVP_CipherInit_ex
When HAVE_YASSL is defined (due to cmake -DWITH_SSL=bundled
or otherwise), mysys_ssl/my_crypt.cc will #include "yassl.cc"
from the same directory.

When MariaDB 10.2 or later is compiled with GCC 8 and optimizations
are enabled, then the check
  if (iv)
in EVP_CipherInit_ex() can be wrongly optimized away.
The reason appears to be that __attribute__((nonnull)) is attached
to the variable iv, because there is a (no-op) call
memcpy(oiv, iv, ivlen=0) earlier in the code path.

It is possible that this started failing after the code was
refactored in MDEV-10332 (MariaDB 10.2.6). In MariaDB 10.1,
there is a similar memcpy() call in MyCTX_nopad::init(),
but the code appears to work fine.
2019-03-29 11:38:45 +02:00
..
CMakeLists.txt MDEV-10332 support for OpenSSL 1.1 and LibreSSL 2017-05-09 18:53:10 +02:00
my_crypt.cc MDEV-15587 AES test fails, segfaults in EVP_CipherInit_ex 2019-03-29 11:38:45 +02:00
my_md5.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
my_sha.ic MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
my_sha1.cc cleanup: generalize my_sha1.cc 2017-03-10 18:21:26 +01:00
my_sha224.cc my_sha2 service 2017-03-10 18:21:26 +01:00
my_sha256.cc my_sha2 service 2017-03-10 18:21:26 +01:00
my_sha384.cc my_sha2 service 2017-03-10 18:21:26 +01:00
my_sha512.cc my_sha2 service 2017-03-10 18:21:26 +01:00
openssl.c MDEV-14567: CRYPTO_set_mem_functions fails in FIPS mode 2018-02-07 11:45:01 +01:00
yassl.cc Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00