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

Side by Side Diff: net/ssl/ssl_platform_key_android.cc

Issue 2566273008: Use SecKeyCreateSignature on macOS 10.12 and later. (Closed)
Patch Set: rsleevi comments Created 4 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
« no previous file with comments | « net/ssl/ssl_platform_key.h ('k') | net/ssl/ssl_platform_key_android_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ssl/ssl_platform_key_android.h" 5 #include "net/ssl/ssl_platform_key_android.h"
6 6
7 #include <strings.h> 7 #include <strings.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 } 217 }
218 } 218 }
219 219
220 return make_scoped_refptr(new ThreadedSSLPrivateKey( 220 return make_scoped_refptr(new ThreadedSSLPrivateKey(
221 base::MakeUnique<SSLPlatformKeyAndroid>(type, key, max_length, sys_rsa), 221 base::MakeUnique<SSLPlatformKeyAndroid>(type, key, max_length, sys_rsa),
222 GetSSLPlatformKeyTaskRunner())); 222 GetSSLPlatformKeyTaskRunner()));
223 } 223 }
224 224
225 scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey( 225 scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey(
226 X509Certificate* certificate) { 226 const X509Certificate* certificate) {
227 return OpenSSLClientKeyStore::GetInstance()->FetchClientCertPrivateKey( 227 return OpenSSLClientKeyStore::GetInstance()->FetchClientCertPrivateKey(
228 certificate); 228 certificate);
229 } 229 }
230 230
231 } // namespace net 231 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/ssl_platform_key.h ('k') | net/ssl/ssl_platform_key_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698