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

Side by Side Diff: net/socket/ssl_client_socket_nss.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months 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/socket/ssl_client_socket_nss.h ('k') | net/socket/ssl_client_socket_openssl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived
6 // from AuthCertificateCallback() in 6 // from AuthCertificateCallback() in
7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp.
8 8
9 /* ***** BEGIN LICENSE BLOCK ***** 9 /* ***** BEGIN LICENSE BLOCK *****
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #include "crypto/nss_util.h" 83 #include "crypto/nss_util.h"
84 #include "crypto/nss_util_internal.h" 84 #include "crypto/nss_util_internal.h"
85 #include "crypto/rsa_private_key.h" 85 #include "crypto/rsa_private_key.h"
86 #include "crypto/scoped_nss_types.h" 86 #include "crypto/scoped_nss_types.h"
87 #include "net/base/address_list.h" 87 #include "net/base/address_list.h"
88 #include "net/base/asn1_util.h" 88 #include "net/base/asn1_util.h"
89 #include "net/base/cert_status_flags.h" 89 #include "net/base/cert_status_flags.h"
90 #include "net/base/cert_verifier.h" 90 #include "net/base/cert_verifier.h"
91 #include "net/base/connection_type_histograms.h" 91 #include "net/base/connection_type_histograms.h"
92 #include "net/base/dns_util.h" 92 #include "net/base/dns_util.h"
93 #include "net/base/transport_security_state.h"
94 #include "net/base/io_buffer.h" 93 #include "net/base/io_buffer.h"
95 #include "net/base/net_errors.h" 94 #include "net/base/net_errors.h"
96 #include "net/base/net_log.h" 95 #include "net/base/net_log.h"
97 #include "net/base/single_request_cert_verifier.h" 96 #include "net/base/single_request_cert_verifier.h"
98 #include "net/base/ssl_cert_request_info.h"
99 #include "net/base/ssl_connection_status_flags.h"
100 #include "net/base/ssl_info.h"
101 #include "net/base/x509_certificate_net_log_param.h" 97 #include "net/base/x509_certificate_net_log_param.h"
102 #include "net/base/x509_util.h" 98 #include "net/base/x509_util.h"
99 #include "net/http/transport_security_state.h"
103 #include "net/ocsp/nss_ocsp.h" 100 #include "net/ocsp/nss_ocsp.h"
104 #include "net/socket/client_socket_handle.h" 101 #include "net/socket/client_socket_handle.h"
105 #include "net/socket/nss_ssl_util.h" 102 #include "net/socket/nss_ssl_util.h"
106 #include "net/socket/ssl_error_params.h" 103 #include "net/socket/ssl_error_params.h"
104 #include "net/ssl/ssl_cert_request_info.h"
105 #include "net/ssl/ssl_connection_status_flags.h"
106 #include "net/ssl/ssl_info.h"
107 107
108 #if defined(OS_WIN) 108 #if defined(OS_WIN)
109 #include <windows.h> 109 #include <windows.h>
110 #include <wincrypt.h> 110 #include <wincrypt.h>
111 #elif defined(OS_MACOSX) 111 #elif defined(OS_MACOSX)
112 #include <Security/SecBase.h> 112 #include <Security/SecBase.h>
113 #include <Security/SecCertificate.h> 113 #include <Security/SecCertificate.h>
114 #include <Security/SecIdentity.h> 114 #include <Security/SecIdentity.h>
115 #include "base/mac/mac_logging.h" 115 #include "base/mac/mac_logging.h"
116 #elif defined(USE_NSS) 116 #elif defined(USE_NSS)
(...skipping 3417 matching lines...) Expand 10 before | Expand all | Expand 10 after
3534 EnsureThreadIdAssigned(); 3534 EnsureThreadIdAssigned();
3535 base::AutoLock auto_lock(lock_); 3535 base::AutoLock auto_lock(lock_);
3536 return valid_thread_id_ == base::PlatformThread::CurrentId(); 3536 return valid_thread_id_ == base::PlatformThread::CurrentId();
3537 } 3537 }
3538 3538
3539 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const { 3539 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const {
3540 return server_bound_cert_service_; 3540 return server_bound_cert_service_;
3541 } 3541 }
3542 3542
3543 } // namespace net 3543 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698