Date: Wed, 20 Jun 2018 21:17:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228967] www/squid-devel Broken with LibreSSL 2.7 Message-ID: <bug-228967-7788-pTHU107AiC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228967-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-228967-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228967 w.schwarzenfeld@utanet.at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |w.schwarzenfeld@utanet.at --- Comment #3 from w.schwarzenfeld@utanet.at --- /usr/ports/www/squid-devel/work/squid-4.0.24/src/ssl/bio.cc 66 BIO * 67 Ssl::Bio::Create(const int fd, Security::Io::Type type) 68 { 69 #if HAVE_LIBCRYPTO_BIO_METH_NEW 70 if (!SquidMethods) { 71 SquidMethods =3D BIO_meth_new(BIO_TYPE_SOCKET, "squid"); 72 BIO_meth_set_write(SquidMethods, squid_bio_write); 73 BIO_meth_set_read(SquidMethods, squid_bio_read); 74 BIO_meth_set_puts(SquidMethods, squid_bio_puts); 75 BIO_meth_set_gets(SquidMethods, NULL); 76 BIO_meth_set_ctrl(SquidMethods, squid_bio_ctrl); 77 BIO_meth_set_create(SquidMethods, squid_bio_create); 78 BIO_meth_set_destroy(SquidMethods, squid_bio_destroy); 79 } =3D> 80 const BIO_METHOD *useMethod =3D SquidMethods; 81 #else 82 BIO_METHOD *useMethod =3D &SquidMethods; 83 #endif If I remove const, it compiles fine. I don't know the correct solution, but I guess it is to set HAVE_LIBCRYPTO_BIO_METH_NEW to the right value. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228967-7788-pTHU107AiC>