Files
swift-crypto/scripts/patch-1-inttypes.patch
Cory Benfield 010a4486f0 Update BoringSSL to 035e720641f385e82c72b7b0a9e1d89e58cb5ed5 (#356)
This patch updates BoringSSL to
035e720641f385e82c72b7b0a9e1d89e58cb5ed5. As with all of our patch
updates to BoringSSL, this comes in multiple commits. The first contains
the changes to the vendoring script, and the last contains the tweaks to
product code. The middle commit can be ignored for review purposes.
2025-06-04 08:36:16 +00:00

26 lines
921 B
Diff

diff --git a/Sources/CCryptoBoringSSL/crypto/x509/t_x509.cc b/Sources/CCryptoBoringSSL/crypto/x509/t_x509.cc
index d2a1ddc8..6f8be6c2 100644
--- a/Sources/CCryptoBoringSSL/crypto/x509/t_x509.cc
+++ b/Sources/CCryptoBoringSSL/crypto/x509/t_x509.cc
@@ -13,6 +13,7 @@
// limitations under the License.
#include <assert.h>
+#include <inttypes.h> // for PRIu64 and friends
#include <CCryptoBoringSSL_asn1.h>
#include <CCryptoBoringSSL_bio.h>
diff --git a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
index 5eadecad..b5a16586 100644
--- a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
+++ b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
@@ -18,7 +18,6 @@
#include "CCryptoBoringSSL_base.h" // IWYU pragma: export
-#include <inttypes.h> // for PRIu64 and friends
#include <stdio.h> // for FILE*
#if defined(__cplusplus)