From 3697a12bc90c1f963fbea95c734d8608ddab4447 Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Wed, 20 Nov 2024 18:43:31 -0500 Subject: [PATCH 1/3] update ziti-tunnel-sdk-c@1.2.7 --- deps/ziti-tunnel-sdk-c | 2 +- lib/ZitiEnroller.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/ziti-tunnel-sdk-c b/deps/ziti-tunnel-sdk-c index 5cd3a4b..4da9198 160000 --- a/deps/ziti-tunnel-sdk-c +++ b/deps/ziti-tunnel-sdk-c @@ -1 +1 @@ -Subproject commit 5cd3a4bd474a722cc525f6d4c0f73d2b7f4bc6ab +Subproject commit 4da919871dce44ce206c6ffe11f0dd2da2992e0a diff --git a/lib/ZitiEnroller.swift b/lib/ZitiEnroller.swift index 7b4d3c9..c955433 100644 --- a/lib/ZitiEnroller.swift +++ b/lib/ZitiEnroller.swift @@ -127,9 +127,9 @@ import CZitiPrivate enrollData.pointee.privatePem_c = UnsafeMutablePointer.allocate(capacity: privatePem.count + 1) enrollData.pointee.privatePem_c!.initialize(from: privatePem.cString(using: .utf8)!, count: privatePem.count + 1) - var enroll_opts = ziti_enroll_opts(jwt: enrollData.pointee.jwtFile_c, - enroll_key: enrollData.pointee.privatePem_c, - enroll_cert: nil, enroll_name: nil, jwt_content: nil, use_keychain: false) + var enroll_opts = ziti_enroll_opts(url: nil, token: enrollData.pointee.jwtFile_c, + key: enrollData.pointee.privatePem_c, + cert: nil, name: nil, use_keychain: false) let status = ziti_enroll(&enroll_opts, loop, ZitiEnroller.on_enroll, enrollData) guard status == ZITI_OK else { let errStr = String(cString: ziti_errorstr(status)) From 653c4fe1e700ca7a511e1f6e217855a0d4fc50b5 Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Fri, 22 Nov 2024 10:44:15 -0500 Subject: [PATCH 2/3] update ziti-tunnel-sdk-c@1.2.8 --- deps/ziti-tunnel-sdk-c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ziti-tunnel-sdk-c b/deps/ziti-tunnel-sdk-c index 4da9198..9993f61 160000 --- a/deps/ziti-tunnel-sdk-c +++ b/deps/ziti-tunnel-sdk-c @@ -1 +1 @@ -Subproject commit 4da919871dce44ce206c6ffe11f0dd2da2992e0a +Subproject commit 9993f61e6ad4c975147ab5b15593f1cec3705d3a From 65f2136dac26db1ca068037178a627441231c934 Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Thu, 5 Dec 2024 09:55:58 -0500 Subject: [PATCH 3/3] update ziti-tunnel-sdk-c@v1.2.9 --- deps/ziti-tunnel-sdk-c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ziti-tunnel-sdk-c b/deps/ziti-tunnel-sdk-c index 9993f61..5ee5dc7 160000 --- a/deps/ziti-tunnel-sdk-c +++ b/deps/ziti-tunnel-sdk-c @@ -1 +1 @@ -Subproject commit 9993f61e6ad4c975147ab5b15593f1cec3705d3a +Subproject commit 5ee5dc770a7f88901625619d320cf954f78f1db8