diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/base/origin_bound_cert_store.cc | 4 | ||||
-rw-r--r-- | net/socket/ssl_client_socket.h | 2 | ||||
-rw-r--r-- | net/socket/ssl_client_socket_nss.cc | 1 | ||||
-rw-r--r-- | net/socket/ssl_server_socket_nss.cc | 1 | ||||
-rw-r--r-- | net/socket/transport_client_socket_pool.cc | 4 | ||||
-rw-r--r-- | net/url_request/url_request_job_manager.cc | 9 |
6 files changed, 13 insertions, 8 deletions
diff --git a/net/base/origin_bound_cert_store.cc b/net/base/origin_bound_cert_store.cc index f597204..6a31a7e 100644 --- a/net/base/origin_bound_cert_store.cc +++ b/net/base/origin_bound_cert_store.cc @@ -6,7 +6,9 @@ namespace net { -OriginBoundCertStore::OriginBoundCert::OriginBoundCert() {} +OriginBoundCertStore::OriginBoundCert::OriginBoundCert() + : type_(CLIENT_CERT_INVALID_TYPE) { +} OriginBoundCertStore::OriginBoundCert::OriginBoundCert( const std::string& origin, diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h index 0116e37..0637f4c 100644 --- a/net/socket/ssl_client_socket.h +++ b/net/socket/ssl_client_socket.h @@ -68,7 +68,7 @@ class NET_EXPORT SSLClientSocket : public SSLSocket { // an agreement about the application level protocol to speak over a // connection. enum NextProtoStatus { - // WARNING: These values are serialised to disk. Don't change them. + // WARNING: These values are serialized to disk. Don't change them. kNextProtoUnsupported = 0, // The server doesn't support NPN. kNextProtoNegotiated = 1, // We agreed on a protocol. diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc index 1dcc232..815ce94 100644 --- a/net/socket/ssl_client_socket_nss.cc +++ b/net/socket/ssl_client_socket_nss.cc @@ -447,6 +447,7 @@ SSLClientSocketNSS::SSLClientSocketNSS(ClientSocketHandle* transport_socket, cert_verifier_(context.cert_verifier), ob_cert_xtn_negotiated_(false), origin_bound_cert_service_(context.origin_bound_cert_service), + ob_cert_type_(CLIENT_CERT_INVALID_TYPE), ob_cert_request_handle_(NULL), handshake_callback_called_(false), completed_handshake_(false), diff --git a/net/socket/ssl_server_socket_nss.cc b/net/socket/ssl_server_socket_nss.cc index 5b57492..9135464 100644 --- a/net/socket/ssl_server_socket_nss.cc +++ b/net/socket/ssl_server_socket_nss.cc @@ -60,6 +60,7 @@ SSLServerSocketNSS::SSLServerSocketNSS( const SSLConfig& ssl_config) : transport_send_busy_(false), transport_recv_busy_(false), + user_handshake_callback_(NULL), nss_fd_(NULL), nss_bufs_(NULL), transport_socket_(transport_socket), diff --git a/net/socket/transport_client_socket_pool.cc b/net/socket/transport_client_socket_pool.cc index 02d48fba..001225e 100644 --- a/net/socket/transport_client_socket_pool.cc +++ b/net/socket/transport_client_socket_pool.cc @@ -99,7 +99,9 @@ TransportConnectJob::TransportConnectJob( BoundNetLog::Make(net_log, NetLog::SOURCE_CONNECT_JOB)), params_(params), client_socket_factory_(client_socket_factory), - resolver_(host_resolver) {} + resolver_(host_resolver), + next_state_(STATE_NONE) { +} TransportConnectJob::~TransportConnectJob() { // We don't worry about cancelling the host resolution and TCP connect, since diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc index 71e9e55..f149fb2 100644 --- a/net/url_request/url_request_job_manager.cc +++ b/net/url_request/url_request_job_manager.cc @@ -262,11 +262,10 @@ void URLRequestJobManager::UnregisterRequestInterceptor( interceptors_.erase(i); } -URLRequestJobManager::URLRequestJobManager() : enable_file_access_(false) { -#ifndef NDEBUG - allowed_thread_ = 0; - allowed_thread_initialized_ = false; -#endif +URLRequestJobManager::URLRequestJobManager() + : allowed_thread_(0), + allowed_thread_initialized_(false), + enable_file_access_(false) { } URLRequestJobManager::~URLRequestJobManager() {} |