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

Unified Diff: net/ssl/openssl_client_key_store.h

Issue 396803002: Implement TLS client auth in the OS X OpenSSL port. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DISALLOW_COPY_AND_ASSIGN Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: net/ssl/openssl_client_key_store.h
diff --git a/net/ssl/openssl_client_key_store.h b/net/ssl/openssl_client_key_store.h
index d1d09c4176c8ccdd50fca61926691631b816025c..1cf2ceda1891e7a65c9fa751ca2ace452886466f 100644
--- a/net/ssl/openssl_client_key_store.h
+++ b/net/ssl/openssl_client_key_store.h
@@ -49,11 +49,8 @@ class NET_EXPORT OpenSSLClientKeyStore {
// Given a certificate's |public_key|, return the corresponding private
// key that has been recorded previously by RecordClientCertPrivateKey().
// |cert| is a client certificate.
- // |*private_key| will be reset to its matching private key on success.
- // Returns true on success, false otherwise. This increments the reference
- // count of the private key on success.
- bool FetchClientCertPrivateKey(const X509Certificate* cert,
- crypto::ScopedEVP_PKEY* private_key);
+ // Returns its matching private key on success, NULL otherwise.
+ crypto::ScopedEVP_PKEY FetchClientCertPrivateKey(const X509Certificate* cert);
// Flush all recorded keys.
void Flush();

Powered by Google App Engine
This is Rietveld 408576698