Commit eafb8cc
committed
Bump BoringSSL submodule to 4a3cda40b (API version 40)
Update the BoringSSL submodule from 91a66a59b (API version 37) to
4a3cda40b965bbda7cebf86e35c1ed6890ebcc34 (API version 40), moving the
dependency forward by 653 commits.
Changes:
boring-pq.patch:
Updated context lines in crypto/obj/obj_dat.h and tool/client.cc to
match the new BoringSSL source.
rpk.patch removed:
Raw Public Key (RPK) support is now native to upstream BoringSSL as
of this version, so the Cloudflare-maintained patch is no longer
needed. The upstream implementation provides equivalent functionality
under different API names:
SSL_CREDENTIAL_new_raw_public_key(void) -> SSL_CREDENTIAL_new_raw_public_key(EVP_PKEY*)
SSL_get0_peer_pubkey -> SSL_get0_peer_rpk
SSL_CTX_set_server_certificate_types -> SSL_CTX_set1_accepted_peer_cert_types
SSL_set_server_certificate_types -> SSL_set1_accepted_peer_cert_types
SSL_get_server_certificate_type_selected -> SSL_get_peer_cert_type
TLS_CERTIFICATE_TYPE_X509 -> TLSEXT_cert_type_x509
TLS_CERTIFICATE_TYPE_RAW_PUBLIC_KEY -> TLSEXT_cert_type_rpk
SSL_CREDENTIAL_set1_spki has no upstream equivalent; the upstream
constructor takes EVP_PKEY* directly, so set_spki_bytes is removed
from the Rust API.
SSL_CTX_get0_server_certificate_types and
SSL_get0_server_certificate_types have no upstream equivalent and
are removed from the Rust API.
The rpk Cargo feature flag is preserved and continues to gate the
Rust API surface.
boring-sys/Cargo.toml:
Added *.cpp and *.in to the include list for cargo publish, as the
new BoringSSL version includes third_party/benchmark files that use
these extensions.1 parent 3921f35 commit eafb8cc
9 files changed
Lines changed: 71 additions & 182 deletions
File tree
- boring-sys
- build
- deps
- patches
- src
- boring/src/ssl
- tokio-boring/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | | - | |
448 | | - | |
| 446 | + | |
449 | 447 | | |
450 | 448 | | |
451 | | - | |
452 | | - | |
| 449 | + | |
453 | 450 | | |
454 | 451 | | |
455 | 452 | | |
| |||
467 | 464 | | |
468 | 465 | | |
469 | 466 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
| 467 | + | |
474 | 468 | | |
475 | 469 | | |
476 | 470 | | |
| |||
Submodule boringssl updated 1419 files
0 commit comments