From 846998c28d5c024137b61b8d788e2e7d21b16d08 Mon Sep 17 00:00:00 2001 From: Tim Condon <0xTim@users.noreply.github.com> Date: Mon, 27 Sep 2021 10:31:47 +0100 Subject: [PATCH] Expand crypto dependencies and fix warning (#62) --- Package.swift | 2 +- Sources/CJWTKitBoringSSL/include/CJWTKitBoringSSL.h | 1 + scripts/vendor-boringssl.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 9342e7e5..1b36eded 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,7 @@ let package = Package( MANGLE_END */ ], dependencies: [ - .package(url: "https://github.com/apple/swift-crypto.git", from: "1.0.0") + .package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0") ], targets: [ .target(name: "CJWTKitBoringSSL"), diff --git a/Sources/CJWTKitBoringSSL/include/CJWTKitBoringSSL.h b/Sources/CJWTKitBoringSSL/include/CJWTKitBoringSSL.h index 8df4a497..4f94e719 100644 --- a/Sources/CJWTKitBoringSSL/include/CJWTKitBoringSSL.h +++ b/Sources/CJWTKitBoringSSL/include/CJWTKitBoringSSL.h @@ -39,6 +39,7 @@ #include "CJWTKitBoringSSL_evp.h" #include "CJWTKitBoringSSL_hkdf.h" #include "CJWTKitBoringSSL_hmac.h" +#include "CJWTKitBoringSSL_hpke.h" #include "CJWTKitBoringSSL_hrss.h" #include "CJWTKitBoringSSL_md4.h" #include "CJWTKitBoringSSL_md5.h" diff --git a/scripts/vendor-boringssl.sh b/scripts/vendor-boringssl.sh index 72a83d16..5c13328f 100755 --- a/scripts/vendor-boringssl.sh +++ b/scripts/vendor-boringssl.sh @@ -337,6 +337,7 @@ cat << EOF > "$DSTROOT/include/CJWTKitBoringSSL.h" #include "CJWTKitBoringSSL_evp.h" #include "CJWTKitBoringSSL_hkdf.h" #include "CJWTKitBoringSSL_hmac.h" +#include "CJWTKitBoringSSL_hpke.h" #include "CJWTKitBoringSSL_hrss.h" #include "CJWTKitBoringSSL_md4.h" #include "CJWTKitBoringSSL_md5.h"