FreeBSD Bugzilla – Attachment 217368 Details for
Bug 248716
ftp/lftp: 4.9.2 fails to build with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix LibreSSL support
patch-lftp-libressl.txt (text/plain), 1.60 KB, created by
Ganael LAPLANCHE
on 2020-08-20 10:17:10 UTC
(
hide
)
Description:
Fix LibreSSL support
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2020-08-20 10:17:10 UTC
Size:
1.60 KB
patch
obsolete
>Index: ftp/lftp/files/patch-src_lftp__ssl.cc >=================================================================== >--- ftp/lftp/files/patch-src_lftp__ssl.cc (nonexistent) >+++ ftp/lftp/files/patch-src_lftp__ssl.cc (working copy) >@@ -0,0 +1,29 @@ >+--- src/lftp_ssl.cc.orig 2020-01-29 20:36:37 UTC >++++ src/lftp_ssl.cc >+@@ -34,7 +34,7 @@ >+ #include "misc.h" >+ #include "network.h" >+ #include "buffer.h" >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER >+ #define X509_STORE_CTX_get_by_subject X509_STORE_get_by_subject >+ #endif >+ extern "C" { >+@@ -840,7 +840,7 @@ lftp_ssl_openssl_instance::lftp_ssl_openssl_instance() >+ ssl_ctx=SSL_CTX_new(); >+ X509_set_default_verify_paths(ssl_ctx->cert); >+ #else >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER >+ SSLeay_add_ssl_algorithms(); >+ #endif >+ ssl_ctx=SSL_CTX_new(SSLv23_client_method()); >+@@ -1080,7 +1080,7 @@ void lftp_ssl_openssl::copy_sid(const lftp_ssl_openssl >+ >+ const char *lftp_ssl_openssl::strerror() >+ { >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER >+ SSL_load_error_strings(); >+ #endif >+ int error=ERR_get_error(); > >Property changes on: ftp/lftp/files/patch-src_lftp__ssl.cc >___________________________________________________________________ >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 248716
: 217368