Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1579)

Unified Diff: components/certificate_reporting/error_reporter_unittest.cc

Issue 2457153003: Remove crypto/curve25519.h in favor of BoringSSL's. (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/certificate_reporting/error_reporter.cc ('k') | crypto/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e124c6e2fe3c90e08a3fc5caddd7830942fa409f..076049dd916465846a0b63a8dfad64fbf61db82e 100644
--- a/components/certificate_reporting/error_reporter_unittest.cc
+++ b/components/certificate_reporting/error_reporter_unittest.cc
@@ -17,12 +17,12 @@
#include "base/message_loop/message_loop.h"
#include "base/run_loop.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/test/url_request/url_request_mock_data_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 {
@@ -103,7 +103,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 {}
« no previous file with comments | « components/certificate_reporting/error_reporter.cc ('k') | crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698