mirror of
https://github.com/apple/swift-crypto
synced 2026-11-22 04:30:39 +00:00
* Update package vendoring script * Update BoringSSL to fcef13a49852397a0d39c00be8d7bc2ba1ab6fb9 * Handle ERR_GET_ERR becoming a function * Update CMake
26 lines
932 B
Diff
26 lines
932 B
Diff
diff --git a/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc b/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc
|
|
index 93a214e..eee4e58 100644
|
|
--- a/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc
|
|
+++ b/Sources/CCryptoBoringSSL/crypto/hrss/hrss.cc
|
|
@@ -13,6 +13,7 @@
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
|
|
|
#include <CCryptoBoringSSL_hrss.h>
|
|
+#include <inttypes.h>
|
|
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
diff --git a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
|
|
index c86c1ef..7013140 100644
|
|
--- a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
|
|
+++ b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_bn.h
|
|
@@ -126,7 +126,8 @@
|
|
#include "CCryptoBoringSSL_base.h"
|
|
#include "CCryptoBoringSSL_thread.h"
|
|
|
|
#include <inttypes.h> // for PRIu64 and friends
|
|
+#include <sys/types.h>
|
|
#include <stdio.h> // for FILE*
|
|
|
|
#if defined(__cplusplus)
|