OLD | NEW |
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 #include "net/base/client_cert_store_impl.h" | 5 #include "net/ssl/client_cert_store_impl.h" |
6 | 6 |
7 #include <nss.h> | 7 #include <nss.h> |
8 #include <ssl.h> | 8 #include <ssl.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "net/base/x509_util.h" | 11 #include "net/base/x509_util.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 namespace { | 15 namespace { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 CERT_AddCertToListTail( | 72 CERT_AddCertToListTail( |
73 cert_list, CERT_DupCertificate(input_certs[i]->os_cert_handle())); | 73 cert_list, CERT_DupCertificate(input_certs[i]->os_cert_handle())); |
74 } | 74 } |
75 | 75 |
76 bool rv = GetClientCertsImpl(cert_list, request, selected_certs); | 76 bool rv = GetClientCertsImpl(cert_list, request, selected_certs); |
77 CERT_DestroyCertList(cert_list); | 77 CERT_DestroyCertList(cert_list); |
78 return rv; | 78 return rv; |
79 } | 79 } |
80 | 80 |
81 } // namespace net | 81 } // namespace net |
OLD | NEW |