OpenSSL 3 ports fallout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 20:30:48 UTC
Some of the ports I'm using are failing to build after OpenSSL 3 import due to the following problem. OpenSSL headers that are shipped in base contain declarations of various deprecated functions for which libcrypto.so doesn't contain definitions. Some of them are RSA_generate_key and ERR_* family. These declarations aren't guarded by any #ifdef and are visible for ports software. VirtualBox and net-p2p/cardano-node detect these functions, try to use them and then fail to link due to undefined references. I believe this should be fixed in the base rather than patching each port?