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

Make OpenSSL requirement explicit in meson.build #43

Closed

Conversation

wandernauta
Copy link
Contributor

We require OpenSSL 3 because mailmon.cc calls SSL_get0_peer_certificate which does not exist in older versions.

We require OpenSSL 3 because mailmon.cc calls SSL_get0_peer_certificate
which does not exist in older versions.
@job
Copy link
Contributor

job commented Apr 15, 2024

Instead of specifically requiring OpenSSL 3, the code can also be adapted to use a more widely available variant of the function: 1c99319 (not really tested).

In general I'd avoid depending on OpenSSL 3 API, supporting a broader range of libcrypto versions helps with porting.

@job
Copy link
Contributor

job commented Apr 16, 2024

Today I learned about shared_ptr<>! Thanks :-)

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.

2 participants