You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/12/19 19:09:27 UTC
[Bug 57375] New: [PATCH] Unbreak build with LibreSSL
https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
Bug ID: 57375
Summary: [PATCH] Unbreak build with LibreSSL
Product: Apache httpd-2
Version: 2.4.10
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_ssl
Assignee: bugs@httpd.apache.org
Reporter: apache.org@bachfreund.nl
Created attachment 32309
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32309&action=edit
Patch for apache24 to build cleanly with LibreSSL
Apache 2.4 (and 2.2) can not be built when LibreSSL is used as SSL library.
LibreSSL has (amongst others)
- removed RAND_egd
- removed CHIL engine
- added SSL_CTX_use_certificate_chain
this leads to build failures for missing and redefining functions. This patch
fixes these errors by
- adding a check for RAND_egd and SSL_CTX_use_certificate_chain
- using an already available define for CHIL
- using defines for the added checks
Patch attached, this applies without issue to a cleanly extracted httpd-2.4.10
tree.
This has also been submitted as a report at FreeBSD, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196139
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57375] Support LibreSSL as an alternative toolkit for mod_ssl
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
Kaspar Brand <as...@velox.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.4.10 |2.5-HEAD
Summary|[PATCH] Unbreak 2.4 build |Support LibreSSL as an
|with LibreSSL |alternative toolkit for
| |mod_ssl
Severity|normal |enhancement
--- Comment #1 from Kaspar Brand <as...@velox.ch> ---
Rewording the summary to more accurately capture the topic of this bug.
I'm not really supportive of this idea, to be frank. mod_ssl is effectively
mod_openssl these days. It used to have (and in 2.2.x still does) an
ssl_toolkit_compat layer which allowed support for multiple toolkits, in
theory, but as discussed in these two threads, the consensus in 2010/2011 was
to deliberately drop support for non-OpenSSL toolkits:
https://mail-archives.apache.org/mod_mbox/httpd-dev/201005.mbox/%3C20100525124551.GA11177%40redhat.com%3E
https://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C4E35065D.30104%40velox.ch%3E
(see r1154683 and and r1154687)
While the changes for supporting LibreSSL might seem small right now, it would
definitely mean that mod_ssl maintenance becomes [again] more complex, assuming
a scenario of LibreSSL deviating more substantially from OpenSSL in the future
(consider http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3
e.g.).
Maintaining mod_ssl compatibility with all OpenSSL versions still floating
around (0.9.7/0.9.8/1.0.0/1.0.1) is already quite burdensome, and I wouldn't
want to make things more complicated by adding another toolkit to the mix
(otherwise, next on the table would be BoringSSL, I guess). Let's draw a clear
line right now, and not silently morph mod_[open]ssl into something like
mod_{libre,boring,...}ssl.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57375] Support LibreSSL as an alternative toolkit for mod_ssl
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
--- Comment #3 from Bernard Spil <sp...@gmail.com> ---
I can see why you don't want to support that many versions/libraries...
However, recently (Okt and Dec 2014) the OpenSSL project has released both a
new version of the Roadmap and a new Release Strategy
https://www.openssl.org/about/roadmap.html
https://www.openssl.org/about/releasestrat.html
indicating that some bigger change is required that will impact API etc.
The number of supported OpenSSL versions will be greatly reduced. Both 0.9.8
and 1.0.0 will be end-of-support by end of this year, and 1.0.1 is planned to
be end-of-support 24 months from now.
Without a doubt OpenBSD's (and if my patches are committed) FreeBSD's ports
will make it possible to compile Apache with LibreSSL. Going forward the effort
to make that work will increase and other TLS libraries will start emerging
(ressl/libtls). Is a strategy with regards to other TLS libraries already
formulated? And if so, where can we find it?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57375] Support LibreSSL as an alternative toolkit for mod_ssl
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
--- Comment #2 from Kaspar Brand <as...@velox.ch> ---
*** Bug 57395 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57375] [PATCH] Unbreak 2.4 build with LibreSSL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
Bernard Spil <sp...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[PATCH] Unbreak build with |[PATCH] Unbreak 2.4 build
|LibreSSL |with LibreSSL
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57375] [PATCH] Unbreak build with LibreSSL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org