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

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

Issue 9005015: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 9 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/socket/ssl_client_socket.cc ('k') | net/socket/ssl_server_socket_nss.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 ssl_config_(ssl_config), 440 ssl_config_(ssl_config),
441 user_read_buf_len_(0), 441 user_read_buf_len_(0),
442 user_write_buf_len_(0), 442 user_write_buf_len_(0),
443 server_cert_nss_(NULL), 443 server_cert_nss_(NULL),
444 server_cert_verify_result_(NULL), 444 server_cert_verify_result_(NULL),
445 ssl_connection_status_(0), 445 ssl_connection_status_(0),
446 client_auth_cert_needed_(false), 446 client_auth_cert_needed_(false),
447 cert_verifier_(context.cert_verifier), 447 cert_verifier_(context.cert_verifier),
448 ob_cert_xtn_negotiated_(false), 448 ob_cert_xtn_negotiated_(false),
449 origin_bound_cert_service_(context.origin_bound_cert_service), 449 origin_bound_cert_service_(context.origin_bound_cert_service),
450 ob_cert_type_(CLIENT_CERT_INVALID_TYPE),
450 ob_cert_request_handle_(NULL), 451 ob_cert_request_handle_(NULL),
451 handshake_callback_called_(false), 452 handshake_callback_called_(false),
452 completed_handshake_(false), 453 completed_handshake_(false),
453 ssl_session_cache_shard_(context.ssl_session_cache_shard), 454 ssl_session_cache_shard_(context.ssl_session_cache_shard),
454 eset_mitm_detected_(false), 455 eset_mitm_detected_(false),
455 kaspersky_mitm_detected_(false), 456 kaspersky_mitm_detected_(false),
456 predicted_cert_chain_correct_(false), 457 predicted_cert_chain_correct_(false),
457 next_handshake_state_(STATE_NONE), 458 next_handshake_state_(STATE_NONE),
458 nss_fd_(NULL), 459 nss_fd_(NULL),
459 nss_bufs_(NULL), 460 nss_bufs_(NULL),
(...skipping 2249 matching lines...) Expand 10 before | Expand all | Expand 10 after
2709 valid_thread_id_ = base::PlatformThread::CurrentId(); 2710 valid_thread_id_ = base::PlatformThread::CurrentId();
2710 } 2711 }
2711 2712
2712 bool SSLClientSocketNSS::CalledOnValidThread() const { 2713 bool SSLClientSocketNSS::CalledOnValidThread() const {
2713 EnsureThreadIdAssigned(); 2714 EnsureThreadIdAssigned();
2714 base::AutoLock auto_lock(lock_); 2715 base::AutoLock auto_lock(lock_);
2715 return valid_thread_id_ == base::PlatformThread::CurrentId(); 2716 return valid_thread_id_ == base::PlatformThread::CurrentId();
2716 } 2717 }
2717 2718
2718 } // namespace net 2719 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket.cc ('k') | net/socket/ssl_server_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698