[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs