svn commit: r569564 - head/www/squid3/files
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Mar 30 17:12:58 UTC 2021
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;
More information about the svn-ports-head
mailing list