Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: net/ocsp/nss_ocsp.cc

Issue 452014: Remove the unnecessary workaround for NSS bug 455424, now that we require... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add ssl_client_socket_nss.cc to the CL. Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/keygen_handler_nss.cc ('k') | net/socket/ssl_client_socket_nss.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/ocsp/nss_ocsp.h" 5 #include "net/ocsp/nss_ocsp.h"
6 6
7 // Work around https://bugzilla.mozilla.org/show_bug.cgi?id=455424
8 // until NSS 3.12.2 comes out and we update to it.
9 #define Lock FOO_NSS_Lock
10 #include <certt.h> 7 #include <certt.h>
11 #undef Lock
12 #include <certdb.h> 8 #include <certdb.h>
13 #include <ocsp.h> 9 #include <ocsp.h>
14 #include <nspr.h> 10 #include <nspr.h>
15 #include <nss.h> 11 #include <nss.h>
16 #include <secerr.h> 12 #include <secerr.h>
17 13
18 #include <string> 14 #include <string>
19 15
20 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
21 #include "base/condition_variable.h" 17 #include "base/condition_variable.h"
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // This function would be called before NSS initialization. 557 // This function would be called before NSS initialization.
562 void SetURLRequestContextForOCSP(URLRequestContext* request_context) { 558 void SetURLRequestContextForOCSP(URLRequestContext* request_context) {
563 OCSPInitSingleton::set_url_request_context(request_context); 559 OCSPInitSingleton::set_url_request_context(request_context);
564 } 560 }
565 561
566 URLRequestContext* GetURLRequestContextForOCSP() { 562 URLRequestContext* GetURLRequestContextForOCSP() {
567 return OCSPInitSingleton::url_request_context(); 563 return OCSPInitSingleton::url_request_context();
568 } 564 }
569 565
570 } // namespace net 566 } // namespace net
OLDNEW
« no previous file with comments | « net/base/keygen_handler_nss.cc ('k') | net/socket/ssl_client_socket_nss.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698