Index: components/certificate_reporting/error_reporter_unittest.cc |
diff --git a/components/certificate_reporting/error_reporter_unittest.cc b/components/certificate_reporting/error_reporter_unittest.cc |
index 6e83ca165be9601b1fb7226d19fe8a6bb36ad8e3..529c22bf946397eb38d9d6735a6915092b1e53bf 100644 |
--- a/components/certificate_reporting/error_reporter_unittest.cc |
+++ b/components/certificate_reporting/error_reporter_unittest.cc |
@@ -18,11 +18,11 @@ |
#include "base/run_loop.h" |
#include "base/test/histogram_tester.h" |
#include "components/certificate_reporting/encrypted_cert_logger.pb.h" |
-#include "crypto/curve25519.h" |
#include "net/test/url_request/url_request_failed_job.h" |
#include "net/url_request/report_sender.h" |
#include "net/url_request/url_request_test_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "third_party/boringssl/src/include/openssl/curve25519.h" |
namespace certificate_reporting { |
@@ -90,7 +90,7 @@ class ErrorReporterTest : public ::testing::Test { |
public: |
ErrorReporterTest() { |
memset(server_private_key_, 1, sizeof(server_private_key_)); |
- crypto::curve25519::ScalarBaseMult(server_private_key_, server_public_key_); |
+ X25519_public_from_private(server_public_key_, server_private_key_); |
} |
~ErrorReporterTest() override {} |