[tor-bugs] #2777 [Torbutton]: Clear OCSP cache during toggle

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Mar 21 13:26:59 UTC 2011


#2777: Clear OCSP cache during toggle
----------------------------------------+-----------------------------------
 Reporter:  mikeperry                   |          Owner:  mikeperry
     Type:  task                        |         Status:  new      
 Priority:  major                       |      Milestone:           
Component:  Torbutton                   |        Version:           
 Keywords:  MikePerryIteration20110403  |         Parent:  #2482    
   Points:  2                           |   Actualpoints:           
----------------------------------------+-----------------------------------
Changes (by mikeperry):

  * keywords:  => MikePerryIteration20110403


Comment:

 We got lucky with this one. nsNSSComponent::Observe() watches
 security.OCSP.enabled, which calls setOCSPOptions(), which if set to 0,
 calls CERT_DisableOCSPChecking(), which calls CERT_ClearOCSPCache().

 So it appears all we have to do is toggle the pref.

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


More information about the tor-bugs mailing list