| Index: components/webcrypto/algorithms/rsa_sign.cc
|
| diff --git a/components/webcrypto/algorithms/rsa_sign.cc b/components/webcrypto/algorithms/rsa_sign.cc
|
| index 5c038b543d8f4e26f8b7cb376aab42acdf56fe01..1ea0b8ea98b3510c2ec9a9ce150e0e95f0bb3316 100644
|
| --- a/components/webcrypto/algorithms/rsa_sign.cc
|
| +++ b/components/webcrypto/algorithms/rsa_sign.cc
|
| @@ -3,7 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/numerics/safe_math.h"
|
| -#include "base/stl_util.h"
|
| #include "components/webcrypto/algorithms/rsa_sign.h"
|
| #include "components/webcrypto/algorithms/util.h"
|
| #include "components/webcrypto/blink_key_handle.h"
|
| @@ -102,7 +101,7 @@ Status RsaSign(const blink::WebCryptoKey& key,
|
| }
|
|
|
| buffer->resize(sig_len);
|
| - if (!EVP_DigestSignFinal(ctx.get(), vector_as_array(buffer), &sig_len))
|
| + if (!EVP_DigestSignFinal(ctx.get(), buffer->data(), &sig_len))
|
| return Status::OperationError();
|
|
|
| buffer->resize(sig_len);
|
|
|