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

Unified Diff: components/certificate_reporting/error_reporter_unittest.cc

Issue 2457153003: Remove crypto/curve25519.h in favor of BoringSSL's. (Closed)
Patch Set: \ Created 4 years, 2 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
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 {}

Powered by Google App Engine
This is Rietveld 408576698