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

Unified Diff: chrome/browser/safe_browsing/certificate_reporting_service_test_utils.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 | « no previous file | components/certificate_reporting/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/certificate_reporting_service_test_utils.cc
diff --git a/chrome/browser/safe_browsing/certificate_reporting_service_test_utils.cc b/chrome/browser/safe_browsing/certificate_reporting_service_test_utils.cc
index 4df76baf096410a2802abe63feb90201b7515b71..584a8ec9e0dc22f6b26cbc87b46b3dce62496b75 100644
--- a/chrome/browser/safe_browsing/certificate_reporting_service_test_utils.cc
+++ b/chrome/browser/safe_browsing/certificate_reporting_service_test_utils.cc
@@ -9,11 +9,11 @@
#include "components/certificate_reporting/error_report.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_utils.h"
-#include "crypto/curve25519.h"
#include "net/base/upload_bytes_element_reader.h"
#include "net/base/upload_data_stream.h"
#include "net/url_request/url_request_filter.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/boringssl/src/include/openssl/curve25519.h"
namespace {
@@ -376,7 +376,7 @@ void CertificateReportingServiceObserver::OnServiceReset() {
CertificateReportingServiceTestHelper::CertificateReportingServiceTestHelper() {
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_);
}
CertificateReportingServiceTestHelper::
« no previous file with comments | « no previous file | components/certificate_reporting/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698