Files
swift-nio-ssl/scripts/patch-2-inttypes.patch
T
Cory Benfield 049520bf7d Update BoringSSL to 817ab07ebb53da35afea409ab9328f578492832d (#506)
This PR updates BoringSSL to a newer commit.

Relatedly, this also lifts our minimum C++ version to C++17, to match
BoringSSL.
2025-02-10 15:43:01 +00:00

25 lines
847 B
Diff

diff --git a/Sources/CNIOBoringSSL/crypto/x509/t_x509.cc b/Sources/CNIOBoringSSL/crypto/x509/t_x509.cc
index 7a3acc8..c0bc1c5 100644
--- a/Sources/CNIOBoringSSL/crypto/x509/t_x509.cc
+++ b/Sources/CNIOBoringSSL/crypto/x509/t_x509.cc
@@ -8,6 +8,7 @@
*/
#include <assert.h>
+#include <inttypes.h> // for PRIu64 and friends
#include <CNIOBoringSSL_asn1.h>
#include <CNIOBoringSSL_bio.h>
diff --git a/Sources/CNIOBoringSSL/include/CNIOBoringSSL_bn.h b/Sources/CNIOBoringSSL/include/CNIOBoringSSL_bn.h
index 557fb1d..825b4ea 100644
--- a/Sources/CNIOBoringSSL/include/CNIOBoringSSL_bn.h
+++ b/Sources/CNIOBoringSSL/include/CNIOBoringSSL_bn.h
@@ -126,7 +126,6 @@
#include "CNIOBoringSSL_base.h"
#include "CNIOBoringSSL_thread.h"
-#include <inttypes.h> // for PRIu64 and friends
#include <sys/types.h>
#include <stdio.h> // for FILE*