Update BoringSSL to 0226f30467f540a3f62ef48d453f93927da199b6 #406
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix multiple issues in the BoringSSL vendoring script and update BoringSSL to 0226f30467f540a3f62ef48d453f93927da199b6
Checklist
Motivation:
The
vendor-boringssl.shscript is currently broken in a number ofways, both in general and relative to the latest BoringSSL version:
--enable-test-discoveryis still in useBORINGSSL_REVISIONresults in anunconditional error
PATTERNSlist is out of date for the latest BoringSSLextern "C"to two exported symbols, allowing for collisions.
In addition, the latest BoringSSL has made
BN_MONT_CTXopaque,necessitating that it be referenced with
OpaquePointerrather thanUnsafePointer<>.Modifications:
The following changes are included:
--enable-test-discoveryhas been removedvendor-boringssl.shandgenerate-linux-sdks.shhave been updatedto use Swift 6.1.2 SDKs built for Ubuntu Noble
mangle_cpp_structuresfunction fromswift-nio-ssl's versionof
vendor-boringssl.shhas been copied over (thanks @Lukasa!)BORINGSSL_REVISIONis now allowed to be an empty stringPATTERNSarray has been updatedextern "C"to the functionswhich should have it
s/UnsafePointer<BN_MONT_CTX>/OpaquePointer/gCMakeLists.txtperupdate-cmake-lists.sh0226f30467f540a3f62ef48d453f93927da199b6Result:
Vendoring the latest BoringSSL will work again.
The latest BoringSSL is vendored.