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(); |