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

Unified Diff: net/ssl/ssl_platform_key.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/net.gypi ('k') | net/ssl/ssl_platform_key_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key.h
diff --git a/net/ssl/ssl_platform_key.h b/net/ssl/ssl_platform_key.h
index 00924001bce6eff7008188a316abd2624a86c3f5..efb42920ed655e2adf380d46df35df503147a5b2 100644
--- a/net/ssl/ssl_platform_key.h
+++ b/net/ssl/ssl_platform_key.h
@@ -15,11 +15,11 @@ namespace net {
class SSLPrivateKey;
class X509Certificate;
-// Looks up the private key from the platform key store corresponding to
-// |certificate|'s public key and returns an SSLPrivateKey backed by the
-// playform key.
+// Returns an SSLPrivateKey backed by the platform private key that corresponds
+// to |certificate|'s public key. If |keychain| is nullptr, the process's
+// default search list is used instead.
NET_EXPORT scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey(
- X509Certificate* certificate);
+ const X509Certificate* certificate);
} // namespace net
« no previous file with comments | « net/net.gypi ('k') | net/ssl/ssl_platform_key_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698