mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build with LibreSSL
Reported by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
parent
8793d9a30d
commit
9cf9135d8d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445583
1 changed files with 13 additions and 0 deletions
13
ftp/lftp/files/patch-src-lftp_ssl.cc
Normal file
13
ftp/lftp/files/patch-src-lftp_ssl.cc
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Fix build with LibreSSL
|
||||||
|
|
||||||
|
--- src/lftp_ssl.cc.orig
|
||||||
|
+++ src/lftp_ssl.cc
|
||||||
|
@@ -772,7 +772,7 @@
|
||||||
|
#elif USE_OPENSSL
|
||||||
|
//static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata);
|
||||||
|
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
|
||||||
|
// for compatibility with older versions
|
||||||
|
X509_OBJECT *X509_OBJECT_new()
|
||||||
|
{
|
Loading…
Add table
Reference in a new issue