summaryrefslogtreecommitdiffstats
path: root/net/ocsp/nss_ocsp.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 21:52:41 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 21:52:41 +0000
commit59a3b36577ed3d3adb70f119033fd82223ddd3bb (patch)
tree761b0e32a59dcbd6896431d1397fa5d08e586f6e /net/ocsp/nss_ocsp.h
parent6f515a97557655ca48dd0d0064cdc0c122601335 (diff)
downloadchromium_src-59a3b36577ed3d3adb70f119033fd82223ddd3bb.zip
chromium_src-59a3b36577ed3d3adb70f119033fd82223ddd3bb.tar.gz
chromium_src-59a3b36577ed3d3adb70f119033fd82223ddd3bb.tar.bz2
Explicitly shutdown OCSP.
BUG=59630 TEST=existing Review URL: http://codereview.chromium.org/3822011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ocsp/nss_ocsp.h')
-rw-r--r--net/ocsp/nss_ocsp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ocsp/nss_ocsp.h b/net/ocsp/nss_ocsp.h
index 97d69b9..cf2e66e 100644
--- a/net/ocsp/nss_ocsp.h
+++ b/net/ocsp/nss_ocsp.h
@@ -17,9 +17,13 @@ void SetMessageLoopForOCSP();
// Initializes OCSP handlers for NSS. This must be called before any
// certificate verification functions. This function is thread-safe, and OCSP
-// handlers will only ever be initialized once.
+// handlers will only ever be initialized once. ShutdownOCSP() must be called
+// on shutdown.
void EnsureOCSPInit();
+// This should be called once on shutdown to stop issuing URLRequests for OCSP.
+void ShutdownOCSP();
+
// Set URLRequestContext for OCSP handlers.
void SetURLRequestContextForOCSP(URLRequestContext* request_context);
URLRequestContext* GetURLRequestContextForOCSP();