| Index: crypto/signature_creator.cc
|
| diff --git a/crypto/signature_creator.cc b/crypto/signature_creator.cc
|
| index bb4019ef729c4880976591b847b454c94a13593e..95423d4dd1d6a554887dcf9dbf7b5f5359361a4b 100644
|
| --- a/crypto/signature_creator.cc
|
| +++ b/crypto/signature_creator.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/logging.h"
|
| #include "crypto/openssl_util.h"
|
| #include "crypto/rsa_private_key.h"
|
| -#include "crypto/scoped_openssl_types.h"
|
|
|
| namespace crypto {
|
|
|
| @@ -68,7 +67,7 @@ bool SignatureCreator::Sign(RSAPrivateKey* key,
|
| const uint8_t* data,
|
| int data_len,
|
| std::vector<uint8_t>* signature) {
|
| - ScopedRSA rsa_key(EVP_PKEY_get1_RSA(key->key()));
|
| + bssl::UniquePtr<RSA> rsa_key(EVP_PKEY_get1_RSA(key->key()));
|
| if (!rsa_key)
|
| return false;
|
| signature->resize(RSA_size(rsa_key.get()));
|
|
|