[tor-bugs] #17683 [Tor]: Fail when TLS context fails to initialise

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 25 05:01:37 UTC 2015


#17683: Fail when TLS context fails to initialise
------------------------+--------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  Medium  |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor     |    Version:
     Severity:  Normal  |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |    Sponsor:
------------------------+--------------------------------
 {{{
 +  log_info(LD_GENERAL,"Rotating tls context.");
 +  if (router_initialize_tls_context() < 0) {
 +    log_warn(LD_BUG, "Error reinitializing TLS context");
 +    /* XXX is it a bug here, that we just keep going? -RD */
    }
 }}}

 I think it is - how about we assert() here, and see what happens?

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


More information about the tor-bugs mailing list