-
Notifications
You must be signed in to change notification settings - Fork 167
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
Building ruby 2.5.0 fails with libressl 2.7.0 #192
Comments
LibreSSL 2.7.x provides additional OpenSSL API - Ruby should build against it by taking the @@ -122,8 +122,11 @@ OpenSSL.check_func_or_macro("SSL_get_server_tmp_key",
have_func("SSL_is_server")
+
+ # added in 1.1.0
+if try_static_assert("LIBRESSL_VERSION_NUMBER >= 0x2070000fL", "openssl/opensslv.h") or \
+ not have_struct_member("SSL", "ctx", "openssl/ssl.h")
+ $defs.push("-DHAVE_OPAQUE_OPENSSL")
+end
have_func("CRYPTO_lock") || $defs.push("-DHAVE_OPENSSL_110_THREADING_API")
-have_struct_member("SSL", "ctx", "openssl/ssl.h") || $defs.push("-DHAVE_OPAQUE_OPENSSL")
have_func("BN_GENCB_new")
have_func("BN_GENCB_free")
have_func("BN_GENCB_get_arg") |
Any movement on this? |
This was referenced Oct 25, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On macOS (10.13.3), building ruby 2.5.0 with libressl 2.6.4 works great. But with libressl 2.7.0 ruby fails to build, giving the error messages pasted below.
I opened this with libressl, and they pointed me here. In that thread there are a couple of proposed patches.
Error(s):
The text was updated successfully, but these errors were encountered: