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

Side by Side Diff: chrome/browser/chromeos/net/client_cert_store_chromeos.cc

Issue 1526783002: Build a chain in ClientCertStoreNSS to send intermediates to the server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP test does not work Created 4 years, 10 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 | « no previous file | net/cert/scoped_nss_types.h » ('j') | net/ssl/client_cert_store_nss.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h" 5 #include "chrome/browser/chromeos/net/client_cert_store_chromeos.h"
6 6
7 #include <cert.h> 7 #include <cert.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 unfiltered_certs.erase( 106 unfiltered_certs.erase(
107 std::remove_if(unfiltered_certs.begin(), unfiltered_certs.end(), 107 std::remove_if(unfiltered_certs.begin(), unfiltered_certs.end(),
108 CertNotAllowedPredicate(cert_filter_.get())), 108 CertNotAllowedPredicate(cert_filter_.get())),
109 unfiltered_certs.end()); 109 unfiltered_certs.end());
110 110
111 unfiltered_certs.insert(unfiltered_certs.end(), additional_certs.begin(), 111 unfiltered_certs.insert(unfiltered_certs.end(), additional_certs.begin(),
112 additional_certs.end()); 112 additional_certs.end());
113 113
114 net::ClientCertStoreNSS::FilterCertsOnWorkerThread(unfiltered_certs, *request, 114 net::ClientCertStoreNSS::FilterCertsOnWorkerThread(unfiltered_certs, *request,
115 true, selected_certs); 115 selected_certs);
116 } 116 }
117 117
118 } // namespace chromeos 118 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | net/cert/scoped_nss_types.h » ('j') | net/ssl/client_cert_store_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698