Date: Tue, 30 Mar 2021 17:12:57 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569564 - head/www/squid3/files Message-ID: <202103301712.12UHCvZj029238@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Mar 30 17:12:57 2021 New Revision: 569564 URL: https://svnweb.freebsd.org/changeset/ports/569564 Log: Unbreak the build on FreeBSD 11 which still has old OpenSSL in the base. Pointy hat to: danfe Modified: head/www/squid3/files/patch-src_ssl_support.cc Modified: head/www/squid3/files/patch-src_ssl_support.cc ============================================================================== --- head/www/squid3/files/patch-src_ssl_support.cc Tue Mar 30 16:26:38 2021 (r569563) +++ head/www/squid3/files/patch-src_ssl_support.cc Tue Mar 30 17:12:57 2021 (r569564) @@ -1,11 +1,15 @@ --- src/ssl/support.cc.orig 2018-07-15 20:46:55 UTC +++ src/ssl/support.cc -@@ -2159,7 +2159,7 @@ remove_session_cb(SSL_CTX *, SSL_SESSION *sessionID) +@@ -2159,7 +2159,11 @@ remove_session_cb(SSL_CTX *, SSL_SESSION *sessionID) } static SSL_SESSION * -get_session_cb(SSL *, unsigned char *sessionID, int len, int *copy) -+get_session_cb(SSL *, const unsigned char *sessionID, int len, int *copy) ++get_session_cb(SSL *, ++#ifdef LIBRESSL_VERSION_NUMBER ++ const ++#endif ++ unsigned char *sessionID, int len, int *copy) { if (!SslSessionCache) return NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103301712.12UHCvZj029238>