Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with either OpenSSL 1.1.x or 3.0.x and allow OpenSSL to be provided by the system #238

Merged
merged 14 commits into from
Nov 13, 2024

Conversation

mattrm456
Copy link
Contributor

@mattrm456 mattrm456 commented Oct 30, 2024

This PR allows either OpenSSL 1.1.x or OpenSSL 3.0.x to provide the necessary implementation of TLS. To correctly support OpenSSL 3.0.x, this PR adds necessary BIO_CTRL_GET_KTLS_SEND/RECV controls. This PR allows the system to provide the necessary OpenSSL libraries (not just NTF_BUILD_REFROOT+NTF_BUILD_PREFIX) and it may be described by either CMake or pkgconfig meta-data. The OpenSSL dependency is described as "openssl" in the pkgconfig meta-data and OpenSSL::SSL, OpenSSL::Crypto in the CMake meta-data. To allow dependants to automatically pickup the necessary dependency, the installed ntc-config.cmake file is enhanced to automatically find the OpenSSL package.

@mattrm456 mattrm456 changed the title GitHub Actions: install openssl Build with either OpenSSL 1.x or 3.x and allow OpenSSL to be provided by the system Nov 5, 2024
@mattrm456 mattrm456 changed the title Build with either OpenSSL 1.x or 3.x and allow OpenSSL to be provided by the system Build with either OpenSSL 1.1.x or 3.0.x and allow OpenSSL to be provided by the system Nov 5, 2024
@mattrm456 mattrm456 merged commit 50829b4 into bloomberg:main Nov 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant