diff options
author | Andrej Mihajlov <and@mullvad.net> | 2020-12-02 12:32:20 +0100 |
---|---|---|
committer | Andrej Mihajlov <and@mullvad.net> | 2020-12-03 13:32:24 +0100 |
commit | c9eafd82ac0cb1459be829ef215e6994f9708845 (patch) | |
tree | 80c891ef38525e7f30c43809e725c0937d515ea8 | |
parent | Move all source files to `Sources/` and rename WireGuardKit targets (diff) | |
download | wireguard-apple-c9eafd82ac0cb1459be829ef215e6994f9708845.tar.xz wireguard-apple-c9eafd82ac0cb1459be829ef215e6994f9708845.zip |
WireGuardKit: Fix import statements
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
-rw-r--r-- | Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift | 2 | ||||
-rw-r--r-- | Sources/WireGuardKitSwift/PrivateKey.swift | 2 | ||||
-rw-r--r-- | Sources/WireGuardKitSwift/WireGuardAdapter.swift | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift b/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift index f958fdd..e4fead3 100644 --- a/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift +++ b/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift @@ -4,7 +4,7 @@ import Foundation import Network import NetworkExtension -import WireGuardKitCTarget +import WireGuardKitC class PacketTunnelSettingsGenerator { let tunnelConfiguration: TunnelConfiguration diff --git a/Sources/WireGuardKitSwift/PrivateKey.swift b/Sources/WireGuardKitSwift/PrivateKey.swift index 48dc3eb..14c298f 100644 --- a/Sources/WireGuardKitSwift/PrivateKey.swift +++ b/Sources/WireGuardKitSwift/PrivateKey.swift @@ -2,7 +2,7 @@ // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved. import Foundation -import WireGuardKitCTarget +import WireGuardKitC /// The class describing a private key used by WireGuard. public class PrivateKey: _BaseKey { diff --git a/Sources/WireGuardKitSwift/WireGuardAdapter.swift b/Sources/WireGuardKitSwift/WireGuardAdapter.swift index a2c19ba..2e8df6f 100644 --- a/Sources/WireGuardKitSwift/WireGuardAdapter.swift +++ b/Sources/WireGuardKitSwift/WireGuardAdapter.swift @@ -3,7 +3,7 @@ import Foundation import NetworkExtension -import libwg_go +import WireGuardKitGo public enum WireGuardAdapterError: Error { /// Failure to locate tunnel file descriptor. |