| Index: crypto/rsa_private_key.cc
|
| diff --git a/crypto/rsa_private_key.cc b/crypto/rsa_private_key.cc
|
| index 746bf28bd74d3ad05cd898db063022192bc54c26..3c00f48447973c751056983fc3b1489a47080431 100644
|
| --- a/crypto/rsa_private_key.cc
|
| +++ b/crypto/rsa_private_key.cc
|
| @@ -62,7 +62,8 @@ std::unique_ptr<RSAPrivateKey> RSAPrivateKey::CreateFromKey(EVP_PKEY* key) {
|
| if (EVP_PKEY_type(key->type) != EVP_PKEY_RSA)
|
| return nullptr;
|
| std::unique_ptr<RSAPrivateKey> copy(new RSAPrivateKey);
|
| - copy->key_ = EVP_PKEY_up_ref(key);
|
| + EVP_PKEY_up_ref(key);
|
| + copy->key_ = key;
|
| return copy;
|
| }
|
|
|
|
|