FreeBSD Bugzilla – Attachment 192051 Details for
Bug 226852
lang/ruby25: fix build with LibreSSL 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix openssl ext behavior with DEFAULT_VERSIONS= ssl=openssl
lang_ruby-25-openssl_ext-fix.svn.patch (text/plain), 1004 bytes, created by
Thibault Jouan
on 2018-04-01 12:01:34 UTC
(
hide
)
Description:
Fix openssl ext behavior with DEFAULT_VERSIONS= ssl=openssl
Filename:
MIME Type:
Creator:
Thibault Jouan
Created:
2018-04-01 12:01:34 UTC
Size:
1004 bytes
patch
obsolete
>Index: lang/ruby25/files/patch-ext_openssl_openssl__missing.h >=================================================================== >--- lang/ruby25/files/patch-ext_openssl_openssl__missing.h (revision 466141) >+++ lang/ruby25/files/patch-ext_openssl_openssl__missing.h (working copy) >@@ -13,16 +13,9 @@ > @@ -145,6 +148,7 @@ void ossl_X509_REQ_get0_signature(const > #endif > >- #if !defined(HAVE_OPAQUE_OPENSSL) >-+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL >+-#if !defined(HAVE_OPAQUE_OPENSSL) >++#if !defined(HAVE_OPAQUE_OPENSSL) || \ >++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) > #define IMPL_PKEY_GETTER(_type, _name) \ > static inline _type *EVP_PKEY_get0_##_type(EVP_PKEY *pkey) { \ > return pkey->pkey._name; } >-@@ -196,6 +200,7 @@ IMPL_PKEY_GETTER(EC_KEY, ec) >- #undef IMPL_PKEY_GETTER >- #undef IMPL_KEY_ACCESSOR2 >- #undef IMPL_KEY_ACCESSOR3 >-+#endif >- #endif /* HAVE_OPAQUE_OPENSSL */ >- >- #if !defined(EVP_CTRL_AEAD_GET_TAG)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226852
:
191741
|
192051
|
192101