mariadb/plugin/auth_mysql_sha2/mysql-test/mysql_sha2
Vladislav Vaintroub 65fc5d922e MDEV-37339 errors about caching_sha2_password on server startup (WolfSSL)
With WolfSSL, the plugins is statically compiled, and enabled,
and defaults to autogenerating ssl keys, which was left unimplemented.
Thus, it spits out some [ERROR] on every startup.

Fixed by removing a couple some ifdefs. Allowed tcp_nossl to run on
Windows.

As WolfSSL does not have API with FILE*, use related API that accept BIO
, i.e
- BIO_new_file() instead of fopen()
- BIO_free instead of fclose()
- PEM_write_bio_PrivateKey() instead of PEM_write_PrivateKey()
- etc

Curiously, removing APIs with FILE*, solves another bug MDEV-37343,
where server on Windows dies with obscure message as plugins tries to use
this function. OpenSSL_Applink supposed to be official solution against
such problems, but it did not seem to work properly.
Avoiding APIs with FILE* in first place works best.
2025-07-30 02:28:17 +02:00
..
fini.inc MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
init.inc MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
init.opt MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
socket.opt MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
socket.result MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
socket.test MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
ssl_auto.opt MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
ssl_auto.result MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
ssl_auto.test MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
ssl_manual.result MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
ssl_manual.test MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
suite.pm MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
tcp_nossl.result MDEV-9804 Implement a caching_sha2_password plugin 2025-07-27 13:57:06 +02:00
tcp_nossl.test MDEV-37339 errors about caching_sha2_password on server startup (WolfSSL) 2025-07-30 02:28:17 +02:00