| Index: net/base/openssl_private_key_store_android.cc
|
| diff --git a/net/base/openssl_private_key_store_android.cc b/net/base/openssl_private_key_store_android.cc
|
| index 56a63d23485b6700d77ca09e9c8c15c1b9f00f58..c93953e40eea56318759e39d2c855699cdb6458b 100644
|
| --- a/net/base/openssl_private_key_store_android.cc
|
| +++ b/net/base/openssl_private_key_store_android.cc
|
| @@ -15,8 +15,7 @@
|
|
|
| namespace net {
|
|
|
| -bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url,
|
| - EVP_PKEY* pkey) {
|
| +bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url, EVP_PKEY* pkey) {
|
| // Always clear openssl errors on exit.
|
| crypto::OpenSSLErrStackTracer err_trace(FROM_HERE);
|
|
|
| @@ -37,9 +36,10 @@ bool OpenSSLPrivateKeyStore::StoreKeyPair(const GURL& url,
|
| }
|
| bool ret = false;
|
| if (public_len > 0 && private_len > 0) {
|
| - ret = net::android::StoreKeyPair(
|
| - static_cast<const uint8*>(public_key), public_len,
|
| - static_cast<const uint8*>(private_key), private_len);
|
| + ret = net::android::StoreKeyPair(static_cast<const uint8*>(public_key),
|
| + public_len,
|
| + static_cast<const uint8*>(private_key),
|
| + private_len);
|
| }
|
| LOG_IF(ERROR, !ret) << "StoreKeyPair failed. pub len = " << public_len
|
| << " priv len = " << private_len;
|
|
|