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
14 lines
567 B
Diff
14 lines
567 B
Diff
diff --git a/net/device_bound_sessions/session_binding_utils.cc b/net/device_bound_sessions/session_binding_utils.cc
|
|
index 4f0208149c2a8bb3c0a24ec4490cfc0136c4ec58..6902cbe9e3aea74f92a8d8f8f74952029ef45e23 100644
|
|
--- a/net/device_bound_sessions/session_binding_utils.cc
|
|
+++ b/net/device_bound_sessions/session_binding_utils.cc
|
|
@@ -42,6 +42,8 @@ std::string SignatureAlgorithmToString(
|
|
return "PS256";
|
|
case crypto::SignatureVerifier::RSA_PKCS1_SHA1:
|
|
return "RS1";
|
|
+ case crypto::SignatureVerifier::ECDSA_SHA384:
|
|
+ return "SHA384";
|
|
}
|
|
}
|
|
|