Skip to content

Commit aedf346

Browse files
committed
Bump BoringSSL submodule to 4a3cda40b (API version 40)
Update the BoringSSL submodule from 91a66a59b (API version 37) to 4a3cda40b965bbda7cebf86e35c1ed6890ebcc34 (API version 40). This moves the BoringSSL dependency forward by 653 commits. Key addition in this range: ML-DSA support in libssl. Changes: - Update boring-pq.patch context for new BoringSSL. - Remove rpk.patch: RPK is now native to BoringSSL. Update Rust bindings to use upstream API names (SSL_get0_peer_rpk, SSL_CTX_set1_accepted_peer_cert_types, SSL_get_peer_cert_type, TLSEXT_cert_type_*). SSL_CREDENTIAL_new_raw_public_key now takes EVP_PKEY* directly.
1 parent 3921f35 commit aedf346

9 files changed

Lines changed: 68 additions & 204 deletions

File tree

boring-sys/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ include = [
3333
"/deps/boringssl/crypto/err/*.errordata",
3434
"/deps/boringssl/**/*.bzl",
3535
"/deps/boringssl/**/*.cc",
36+
"/deps/boringssl/**/*.cpp",
37+
"/deps/boringssl/**/*.in",
3638
"/deps/boringssl/**/CMakeLists.txt",
3739
"/deps/boringssl/**/sources.cmake",
3840
"/deps/boringssl/**/util/go_tests.txt",

boring-sys/build/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl Config {
107107
);
108108
}
109109

110-
let features_with_patches_enabled = self.features.rpk || self.features.underscore_wildcards;
110+
let features_with_patches_enabled = self.features.underscore_wildcards;
111111

112112
let patches_required = features_with_patches_enabled && !self.env.assume_patched;
113113

boring-sys/build/main.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,10 @@ fn ensure_patches_applied(config: &Config) -> io::Result<()> {
443443
native BoringSSL is expected to have the patches included"
444444
);
445445
return Ok(());
446-
} else if config.env.source_path.is_some()
447-
&& (config.features.rpk || config.features.underscore_wildcards)
448-
{
446+
} else if config.env.source_path.is_some() && config.features.underscore_wildcards {
449447
panic!(
450448
"BORING_BSSL_ASSUME_PATCHED must be set when setting
451-
BORING_BSSL_SOURCE_PATH and using any of the following
452-
features: rpk, underscore-wildcards"
449+
BORING_BSSL_SOURCE_PATH and using the underscore-wildcards feature"
453450
);
454451
}
455452

@@ -467,10 +464,7 @@ fn ensure_patches_applied(config: &Config) -> io::Result<()> {
467464
println!("cargo:warning=applying post quantum crypto patch to boringssl");
468465
apply_patch(config, "boring-pq.patch")?;
469466

470-
if config.features.rpk {
471-
println!("cargo:warning=applying RPK patch to boringssl");
472-
apply_patch(config, "rpk.patch")?;
473-
}
467+
// RPK support is now native to BoringSSL; no patch needed.
474468

475469
if config.features.underscore_wildcards {
476470
println!("cargo:warning=applying underscore wildcards patch to boringssl");

boring-sys/deps/boringssl

Submodule boringssl updated 1419 files

0 commit comments

Comments
 (0)