mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Two problems with auth_parsec.so
1. it links with ${SSL_LIBRARIES}, in WolfSSL builds it's a static library, so when a plugin is loaded there will be two copies of wolfssl in the same address space. It breaks odr (at least). 2. Plugin can linked with OpenSSL and the server with WolfSSL or vice versa. It might load, but then we'll have both WolfSSL and OpenSSL at the same time. Kind of risky. Fix: link the plugin statically into the server if it's a WolfSSL build adjust tests to work with static and dynamic parsec
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
[parsec]
|
||||
--plugin-load-add=$AUTH_PARSEC_SO
|
||||
--loose-parsec
|
||||
|
||||
[ed25519]
|
||||
--plugin-load-add=$AUTH_ED25519_SO
|
||||
--loose-ed25519
|
||||
|
Reference in New Issue
Block a user