[tor-bugs] #4592 [Tor Relay]: tor_tls_server_info_callback(): SSL3_ST_SW_SRVR_HELLO_B missed.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Dec 8 05:31:39 UTC 2011


#4592: tor_tls_server_info_callback(): SSL3_ST_SW_SRVR_HELLO_B missed.
--------------------------+-------------------------------------------------
    Reporter:  troll_un   |       Owner:                    
        Type:  defect     |      Status:  new               
    Priority:  normal     |   Milestone:  Tor: 0.2.2.x-final
   Component:  Tor Relay  |     Version:  Tor: 0.2.2.34     
  Resolution:             |    Keywords:                    
      Parent:  #4668      |      Points:                    
Actualpoints:             |  
--------------------------+-------------------------------------------------

Comment(by asn):

 wanoskarnet pointed out that suggested fix of comment:4 is wrong, since we
 would also be considering fatal SSL errors in `SSL3_ST_SW_SRVR_HELLO_B`.

 A new, simpler and better fix '''could''' be:
 {{{
 if (type != SSL_CB_ACCEPT_LOOP)
   return;
 if ((ssl->state != SSL3_ST_SW_SRVR_HELLO_A) || (ssl->state !=
 SSL3_ST_SW_SRVR_HELLO_B))
   return;
 }}}

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


More information about the tor-bugs mailing list