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

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

Issue 10830326: net: disable ECDSA ciphersuites on platforms where we can't support it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
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 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 int DoVerifyCert(int result); 139 int DoVerifyCert(int result);
140 int DoVerifyCertComplete(int result); 140 int DoVerifyCertComplete(int result);
141 141
142 void LogConnectionTypeMetrics() const; 142 void LogConnectionTypeMetrics() const;
143 143
144 // The following methods are for debugging bug 65948. Will remove this code 144 // The following methods are for debugging bug 65948. Will remove this code
145 // after fixing bug 65948. 145 // after fixing bug 65948.
146 void EnsureThreadIdAssigned() const; 146 void EnsureThreadIdAssigned() const;
147 bool CalledOnValidThread() const; 147 bool CalledOnValidThread() const;
148 148
149 void DisableECDSA();
150
149 // The task runner used to perform NSS operations. 151 // The task runner used to perform NSS operations.
150 scoped_refptr<base::SequencedTaskRunner> nss_task_runner_; 152 scoped_refptr<base::SequencedTaskRunner> nss_task_runner_;
151 scoped_ptr<ClientSocketHandle> transport_; 153 scoped_ptr<ClientSocketHandle> transport_;
152 HostPortPair host_and_port_; 154 HostPortPair host_and_port_;
153 SSLConfig ssl_config_; 155 SSLConfig ssl_config_;
154 156
155 scoped_refptr<Core> core_; 157 scoped_refptr<Core> core_;
156 158
157 CompletionCallback user_connect_callback_; 159 CompletionCallback user_connect_callback_;
158 160
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // Added the following code Debugging in release mode. 193 // Added the following code Debugging in release mode.
192 mutable base::Lock lock_; 194 mutable base::Lock lock_;
193 // This is mutable so that CalledOnValidThread can set it. 195 // This is mutable so that CalledOnValidThread can set it.
194 // It's guarded by |lock_|. 196 // It's guarded by |lock_|.
195 mutable base::PlatformThreadId valid_thread_id_; 197 mutable base::PlatformThreadId valid_thread_id_;
196 }; 198 };
197 199
198 } // namespace net 200 } // namespace net
199 201
200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 202 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698