mariadb/unittest/mysys
Vladislav Vaintroub f0fa40efad MDEV-25785 Add support for OpenSSL 3.0
Summary of changes

- MD_CTX_SIZE is increased

- EVP_CIPHER_CTX_buf_noconst(ctx) does not work anymore, points
  to nobody knows where. The assumption made previously was that
  (since the function does not seem to be documented)
  was that it points to the last partial source block.
  Add own partial block buffer for NOPAD encryption instead

- SECLEVEL in CipherString in openssl.cnf
  had been downgraded to 0, from 1, to make TLSv1.0 and TLSv1.1 possible
   (according to https://github.com/openssl/openssl/blob/openssl-3.0.0/NEWS.md
   even though the manual for SSL_CTX_get_security_level claims that it
   should not be necessary)

- Workaround Ssl_cipher_list issue, it now returns TLSv1.3 ciphers,
  in addition to what was set in --ssl-cipher

- ctx_buf buffer now must be aligned to 16 bytes with openssl(
  previously with WolfSSL only), ot crashes will happen

- updated aes-t , to be better debuggable
  using function, rather than a huge multiline macro
  added test that does "nopad" encryption piece-wise, to test
  replacement of EVP_CIPHER_CTX_buf_noconst

part of MDEV-28133
2022-05-23 15:27:51 +02:00
..
aes-t.c MDEV-25785 Add support for OpenSSL 3.0 2022-05-23 15:27:51 +02:00
base64-t.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
bitmap-t.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
byte_order-t.c Fixed compiler warnings from gcc 7.4.1 2020-01-29 23:23:55 +02:00
CMakeLists.txt MDEV-19935 Create unified CRC-32 interface 2020-09-17 16:07:37 +02:00
crc32-t.c Fix GCC warning: this decimal constant is unsigned only in ISO C90 2020-09-24 13:08:43 +02:00
dynstring-t.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
lf-t.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_dyncol-t.c Change CHARSET_INFO character set and collaction names to LEX_CSTRING 2021-05-19 22:54:07 +02:00
my_atomic-t.c Shrink my_atomic.h and my_cpu.h scope 2020-04-15 22:23:03 +04:00
my_delete-t.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_getopt-t.c unittest: my_getopt-t errors on -ve ul{l,} 2021-04-07 14:05:04 +10:00
my_malloc-t.c perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
my_rdtsc-t.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_vsnprintf-t.c Add support for minimum field width for strings to my_vsnprintf() 2021-05-19 22:27:29 +02:00
queues-t.c Merge branch '5.5' into 10.1 2020-04-30 17:36:41 +02:00
stacktrace-t.c MDEV-24131: unittest stacktrace-t fails to compile (OpenBSD) 2021-01-28 13:27:00 +11:00
thr_template.c Merge branch '10.3' into 10.4 2021-12-07 09:47:42 +01:00
waiting_threads-t.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00