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

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

Issue 173853014: Make OpenSSL UpdateServerCert() OS independent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved FreeX509Stack back inside class using friend to please gcc-4.6 Created 6 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
« 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 3566 matching lines...) Expand 10 before | Expand all | Expand 10 after
3577 } 3577 }
3578 for (ct::SCTList::const_iterator iter = 3578 for (ct::SCTList::const_iterator iter =
3579 ct_verify_result_.unknown_logs_scts.begin(); 3579 ct_verify_result_.unknown_logs_scts.begin();
3580 iter != ct_verify_result_.unknown_logs_scts.end(); ++iter) { 3580 iter != ct_verify_result_.unknown_logs_scts.end(); ++iter) {
3581 ssl_info->signed_certificate_timestamps.push_back( 3581 ssl_info->signed_certificate_timestamps.push_back(
3582 SignedCertificateTimestampAndStatus(*iter, 3582 SignedCertificateTimestampAndStatus(*iter,
3583 ct::SCT_STATUS_LOG_UNKNOWN)); 3583 ct::SCT_STATUS_LOG_UNKNOWN));
3584 } 3584 }
3585 } 3585 }
3586 3586
3587 scoped_refptr<X509Certificate>
3588 SSLClientSocketNSS::GetUnverifiedServerCertificateChain() const {
3589 return core_->state().server_cert.get();
3590 }
3591
3587 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const { 3592 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const {
3588 return server_bound_cert_service_; 3593 return server_bound_cert_service_;
3589 } 3594 }
3590 3595
3591 } // namespace net 3596 } // 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