FreeBSD Bugzilla – Attachment 192071 Details for
Bug 227188
net-mgmt/sx: Fix build with LibreSSL 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for net-mgmt/sx
patch-net-mgmt_sx-LibreSSL2.7 (text/plain), 1.95 KB, created by
Bernard Spil
on 2018-04-01 19:17:10 UTC
(
hide
)
Description:
svn diff for net-mgmt/sx
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2018-04-01 19:17:10 UTC
Size:
1.95 KB
patch
obsolete
>Index: net-mgmt/sx/files/patch-libsxclient_src_opensslcompat.h >=================================================================== >--- net-mgmt/sx/files/patch-libsxclient_src_opensslcompat.h (nonexistent) >+++ net-mgmt/sx/files/patch-libsxclient_src_opensslcompat.h (working copy) >@@ -0,0 +1,27 @@ >+--- libsxclient/src/opensslcompat.h.orig 2016-11-16 13:50:12 UTC >++++ libsxclient/src/opensslcompat.h >+@@ -13,7 +13,7 @@ >+ #define hmac_final(a, b, c) (HMAC_Final((a), (b), (c)), 1) >+ #endif >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L|| defined (LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER < 0x10100000L|| (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) >+ /* https://wiki.openssl.org/index.php/1.1_API_Changes#Adding_forward-compatible_code_to_older_versions */ >+ static HMAC_CTX *HMAC_CTX_new(void) >+ { >+@@ -32,13 +32,13 @@ static void HMAC_CTX_free(HMAC_CTX *ctx) >+ } >+ #endif >+ >+-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER) >++#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) >+ /* EVP_MD_CTX_create() and EVP_MD_CTX_destroy() were renamed to EVP_MD_CTX_new() and EVP_MD_CTX_free() in OpenSSL 1.1. */ >+ #define EVP_MD_CTX_new EVP_MD_CTX_create >+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy >+ #endif >+ >+-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) >++#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) >+ #define ASN1_STRING_get0_data(x) ASN1_STRING_data(x) >+ #endif >+ > >Property changes on: net-mgmt/sx/files/patch-libsxclient_src_opensslcompat.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 227188
: 192071