Date: Thu, 21 Jun 2018 12:49:34 +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-UJMzhpeRfg@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 --- Comment #7 from Dean E. Weimer <dweimer@dweimer.net> --- (In reply to w.schwarzenfeld from comment #6) That worked for me as well with libressl, built in test environment. in pro= cess of rebuilding actual running jail with libressl to try it in use. It did fail when I tried to rebuild under opnessl though. libtool: link: ( cd ".libs" && rm -f "libsslutil.la" && ln -s "../libsslutil.la" "libsslutil.la" ) --- bio.lo --- bio.cc:86:28: error: use of undeclared identifier 'useMethod' if (BIO *bio =3D BIO_new(useMethod)) { ^ 1 error generated. *** [bio.lo] Error code 1 Added this to original patch: squid-devel/files/patch-src_ssl_bio.cc --- src/ssl/bio.cc.orig 2018-06-21 07:21:44.684311000 -0500 +++ src/ssl/bio.cc 2018-06-21 07:25:50.930483000 -0500 @@ -76,9 +76,11 @@ BIO_meth_set_create(SquidMethods, squid_bio_create); BIO_meth_set_destroy(SquidMethods, squid_bio_destroy); } - const BIO_METHOD *useMethod =3D SquidMethods; -#else - BIO_METHOD *useMethod =3D &SquidMethods; + #if defined(LIBRESSL_VERSION_NUMBER) + BIO_METHOD *useMethod =3D SquidMethods; + #else + const BIO_METHOD *useMethod =3D SquidMethods; + #endif #endif if (BIO *bio =3D BIO_new(useMethod)) { --=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-UJMzhpeRfg>