Commit a53cda46 authored by Yves Arrouye's avatar Yves Arrouye Committed by Commit Bot

Do not request a new key for each cert.

Bug: chromium:947743
Test: unit tests
Change-Id: I3041651936dea5e6080f0a1fb15f80b5c65b361d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631896
Commit-Queue: Yves Arrouye <drcrash@chromium.org>
Commit-Queue: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
Auto-Submit: Yves Arrouye <drcrash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663820}
parent 57719f70
...@@ -118,7 +118,7 @@ void EnrollmentCertificateUploaderImpl::GetCertificate() { ...@@ -118,7 +118,7 @@ void EnrollmentCertificateUploaderImpl::GetCertificate() {
PROFILE_ENTERPRISE_ENROLLMENT_CERTIFICATE, PROFILE_ENTERPRISE_ENROLLMENT_CERTIFICATE,
EmptyAccountId(), // Not used. EmptyAccountId(), // Not used.
std::string(), // Not used. std::string(), // Not used.
true, // Force a new key to be generated. false, // Do not force a new key to be generated.
base::BindRepeating( base::BindRepeating(
[](const base::RepeatingCallback<void(const std::string&)> on_success, [](const base::RepeatingCallback<void(const std::string&)> on_success,
const base::RepeatingCallback<void(AttestationStatus)> on_failure, const base::RepeatingCallback<void(AttestationStatus)> on_failure,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment