This change migrates all `ECDSA_SHA384` code additions to plaster. These additions started causing build breakages in M149 due to unwanted replacements in a proto generated header, which broke nearly all of them. These plasters are smart enough to match with the contents of the block they are aimed at. Chromium changes: https://chromium.googlesource.com/chromium/src/+/70cb8d8433679502ede773d828bf31cb0a1bce16 commit 70cb8d8433679502ede773d828bf31cb0a1bce16 Author: hamda mare <hmare@google.com> Date: Tue Apr 28 12:53:24 2026 -0700 Add proto and type definitions for certificate collection This CL adds the necessary proto messages and C++ types to support certificate collection in signal reports. Bug: 502634772 Change-Id: I2136d39ac83c293856690a8acef12d6d2babdeec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7795711 Reviewed-by: Igor Ruvinov <igorruvinov@chromium.org> Reviewed-by: Zonghan Xu <xzonghan@chromium.org> Commit-Queue: Hamda Mare <hmare@google.com> Cr-Commit-Position: refs/heads/main@{#1621979} Resolves https://github.com/brave/brave-browser/issues/55193
13 lines
752 B
Diff
13 lines
752 B
Diff
diff --git a/chrome/browser/enterprise/connectors/device_trust/key_management/browser/metrics_utils.cc b/chrome/browser/enterprise/connectors/device_trust/key_management/browser/metrics_utils.cc
|
|
index 327ed01234551efb6b3c770a243e10555b448cf3..f6532bc872112e4c51cc3933d888a3f5a0dc8a34 100644
|
|
--- a/chrome/browser/enterprise/connectors/device_trust/key_management/browser/metrics_utils.cc
|
|
+++ b/chrome/browser/enterprise/connectors/device_trust/key_management/browser/metrics_utils.cc
|
|
@@ -43,6 +43,7 @@ DTKeyType AlgorithmToType(
|
|
case crypto::SignatureVerifier::RSA_PSS_SHA256:
|
|
return DTKeyType::kRsa;
|
|
case crypto::SignatureVerifier::ECDSA_SHA256:
|
|
+ case crypto::SignatureVerifier::ECDSA_SHA384:
|
|
return DTKeyType::kEc;
|
|
}
|
|
}
|