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

Fix: OpenSSL 1.1.0 #4230

Merged
merged 2 commits into from Apr 3, 2017
Merged

Conversation

ysbaddaden
Copy link
Contributor

OpenSSL 1.1.0 renamed some libcrypto symbols (eg: sk_* to OPENSSL_sk_*), and dropped support for DSS. I chose to drop DSS, too, for the principle of least suprise —a binary built against OpenSSL 1.0 would fail to run if OpenSSL is upgraded to 1.1.

This allows to build the Crystal test suite against OpenSSL 1.1.0.

closes #4204

- sk_free => OPENSSL_sk_free
- sk_num => OPENSSL_sk_num
- sk_pop_free => OPENSSL_sk_pop_free
- sk_value => OPENSSL_sk_value
- evp_md_ctx_create => evp_md_ctx_new
- evp_md_ctx_destroy => evp_md_ctx_free
@ysbaddaden ysbaddaden changed the title Std fix openssl 110 Fix: OpenSSL 1.1.0 Apr 2, 2017
@jhass
Copy link
Member

jhass commented Apr 2, 2017

Looks like there are two specs to remove for OpenSSL::HMAC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to compile on OpenSSL 1.1.0
3 participants