Skip to content

Commit

Permalink
Expand crypto dependencies and fix warning (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim authored Sep 27, 2021
1 parent 7a9a04d commit 846998c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
1 change: 1 addition & 0 deletions Sources/CJWTKitBoringSSL/include/CJWTKitBoringSSL.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions scripts/vendor-boringssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 846998c

Please sign in to comment.