Files
swift-nio-ssl/scripts/patch-2-inttypes.patch
T
George Barnett fd5f38b003 Update BoringSSL to c239ffd0552179f358de31517391679e9b62ccd3 (#378)
* Various vendor script fixes:

- Fix various 'gsed' occurrences with '$sed'
- Remove the delocate patch, it is no longer required
- Add another patch to include inttypes in
  CNIOBoringSSL/crypto/x509/t_x509.c where PRIu64 is used and remove it
  from CNIOBoringSSL_bn.h. this works around a build failure with
  xcodeproj.
- Use the host platform build directory when mangling C++ symbols
- Fix Python bytes/string writing in build-asm.py

* Update BoringSSL to c239ffd0552179f358de31517391679e9b62ccd3
2022-07-04 10:53:09 +01:00

25 lines
883 B
Diff

diff --git a/Sources/CNIOBoringSSL/crypto/x509/t_x509.c b/Sources/CNIOBoringSSL/crypto/x509/t_x509.c
index 7a3acc8..c0bc1c5 100644
--- a/Sources/CNIOBoringSSL/crypto/x509/t_x509.c
+++ b/Sources/CNIOBoringSSL/crypto/x509/t_x509.c
@@ -55,6 +55,7 @@
* [including the GNU Public Licence.] */
#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*