| Index: crypto/signature_creator_openssl.cc
|
| diff --git a/crypto/signature_creator_openssl.cc b/crypto/signature_creator_openssl.cc
|
| index d5fc4d4d7c918ebe36a7cedec66bc96431b4a169..6543e63186b777c4bc2745215ad2ae6c84600285 100644
|
| --- a/crypto/signature_creator_openssl.cc
|
| +++ b/crypto/signature_creator_openssl.cc
|
| @@ -9,8 +9,9 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "crypto/openssl_util.h"
|
| #include "crypto/rsa_private_key.h"
|
| #include "crypto/scoped_openssl_types.h"
|
| @@ -45,7 +46,7 @@ int ToOpenSSLDigestType(SignatureCreator::HashAlgorithm hash_alg) {
|
| SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key,
|
| HashAlgorithm hash_alg) {
|
| OpenSSLErrStackTracer err_tracer(FROM_HERE);
|
| - scoped_ptr<SignatureCreator> result(new SignatureCreator);
|
| + std::unique_ptr<SignatureCreator> result(new SignatureCreator);
|
| const EVP_MD* const digest = ToOpenSSLDigest(hash_alg);
|
| DCHECK(digest);
|
| if (!digest) {
|
|
|