[tor-bugs] #13815 [Tor]: Attempt to port tor to Google's BoringSSL

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Sep 12 01:55:39 UTC 2015


#13815: Attempt to port tor to Google's BoringSSL
-----------------------------+--------------------------------
     Reporter:  teor         |      Owner:
         Type:  enhancement  |     Status:  assigned
     Priority:  normal       |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor          |    Version:  Tor: 0.2.6.1-alpha
   Resolution:               |   Keywords:  lorax tor-relay
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by nickm):

 tortls.c is much closer to compiling in my `boringssl` branch, but it has
 a few warnings left:
 {{{
 src/common/tortls.c:1576:22: error: no member named 'ciphers' in
       'struct ssl_session_st'; did you mean 'cipher'?
   ciphers = session->ciphers;
                      ^~~~~~~
                      cipher
 /Users/nickm/boringssl//include/openssl/ssl.h:1070:21: note: 'cipher'
 declared
       here
   const SSL_CIPHER *cipher;
                     ^
 src/common/tortls.c:1576:11: error: incompatible pointer types assigning
 to
       'struct stack_st_SSL_CIPHER *' from 'const SSL_CIPHER *' (aka 'const
       struct ssl_cipher_st *') [-Werror,-Wincompatible-pointer-types]
   ciphers = session->ciphers;
           ^ ~~~~~~~~~~~~~~~~
 }}}

 I don't see a easy way around this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13815#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list