Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 656584 | Differences between
and this patch

Collapse All | Expand All

(-)a/ext/openssl/extconf.rb.orig (-1 / +4 lines)
Lines 157-164 OpenSSL.check_func_or_macro("SSL_get_ser Link Here
157
have_func("SSL_is_server")
157
have_func("SSL_is_server")
158
158
159
# added in 1.1.0
159
# added in 1.1.0
160
if !have_struct_member("SSL", "ctx", "openssl/ssl.h") ||
161
    try_static_assert("LIBRESSL_VERSION_NUMBER >= 0x2070000fL", "openssl/opensslv.h")
162
  $defs.push("-DHAVE_OPAQUE_OPENSSL")
163
end
160
have_func("CRYPTO_lock") || $defs.push("-DHAVE_OPENSSL_110_THREADING_API")
164
have_func("CRYPTO_lock") || $defs.push("-DHAVE_OPENSSL_110_THREADING_API")
161
have_struct_member("SSL", "ctx", "openssl/ssl.h") || $defs.push("-DHAVE_OPAQUE_OPENSSL")
162
have_func("BN_GENCB_new")
165
have_func("BN_GENCB_new")
163
have_func("BN_GENCB_free")
166
have_func("BN_GENCB_free")
164
have_func("BN_GENCB_get_arg")
167
have_func("BN_GENCB_get_arg")

Return to bug 656584