[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #18006 [- Select a component]: Buildfix for recent OpenBSD/LibreSSL
#18006: Buildfix for recent OpenBSD/LibreSSL
--------------------------------------+-----------------
Reporter: _x3j11 | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: - Select a component | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
--------------------------------------+-----------------
Tor doesn't compile on recent OpenBSD versions due to OpenSSL version
checking. LibreSSL sets it's OPENSSL_VERSION_NUMBER as 0x2000000L, making
the OPENSSL_* version macros think it's modern and therefore doesn't need
to apply the compat_openssl defines.
The following patch dumbly just checks to see if LIBRESSL_VERSION_NUMBER
is define'd, and if so, applies the defines anyway. There's probably a
better way to do this, but as it's unknown if/when LibreSSL will institute
the compat_openssl defines itself, it should suffice to get Tor actually
building for now.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18006>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs