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

ASN1_TIME_to_tm not implemented in LibreSSL #75

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

madroach
Copy link

@madroach madroach commented Jan 2, 2022

This is not available on LibreSSL.

@smimram smimram merged commit b711cd4 into savonet:master Jan 6, 2022
@smimram
Copy link
Member

smimram commented Jan 6, 2022

Thanks!

@madroach madroach deleted the asn1_time_to_tm branch January 6, 2022 15:59
jcourreges added a commit to jcourreges/ocaml-ssl that referenced this pull request Jan 23, 2022
In savonet/pull/75 detection was implemented with a simple
a macro in openssl-1.1.1m (and probably earlier versions) so using an

Use dune-configurator to detect ASN1_TIME_to_tm() availability.

ASN1_TIME_to_tm() is not available in LibreSSL yet mostly because it
wasn't on the radar as a public function used by other projects.
Hopefully it should become available in the next LibreSSL releases.
jcourreges added a commit to jcourreges/ocaml-ssl that referenced this pull request Jan 23, 2022
In savonet/pull/75 detection was implemented with an #ifdef
check.  However ASN1_TIME_to_tm() was never available as a macro in
openssl-1.1.X release, so a simple #ifdef check will never succeed.

Instead, use dune-configurator to detect ASN1_TIME_to_tm() availability.

Note: ASN1_TIME_to_tm() is not available in LibreSSL yet, mostly because
it wasn't on the radar as a public function used by other projects.
Hopefully it should become available in the next LibreSSL releases.
jcourreges added a commit to jcourreges/ocaml-ssl that referenced this pull request Jan 23, 2022
In savonet/pull/75 detection was implemented with an #ifdef
check.  However ASN1_TIME_to_tm() was never available as a macro in
openssl-1.1.1 releases, so a simple #ifdef check will never succeed.

Instead, use dune-configurator to detect ASN1_TIME_to_tm() availability.

Note: ASN1_TIME_to_tm() is not available in LibreSSL yet, mostly because
it wasn't on the radar as a public function used by other projects.
Hopefully it should become available in the next LibreSSL releases.
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