[tor-bugs] #18006 [- Select a component]: Buildfix for recent OpenBSD/LibreSSL

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 6 04:02:07 UTC 2016


#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


More information about the tor-bugs mailing list