[Bug 228967] www/squid-devel Broken with LibreSSL 2.7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 20 21:17:06 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228967
w.schwarzenfeld at utanet.at changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |w.schwarzenfeld at utanet.at
--- Comment #3 from w.schwarzenfeld at 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 = 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 }
=> 80 const BIO_METHOD *useMethod = SquidMethods;
81 #else
82 BIO_METHOD *useMethod = &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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list