diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-01 18:59:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-01 19:01:43 +0100 |
commit | c2d76b9c450d50e61f6229ea9af7b6b08f92d099 (patch) | |
tree | d5ec17fbc13b78769b16ad19b5b07129499e811f /WireGuard/WireGuard/Model | |
parent | QR code: Fix what happens when an error is shown (diff) | |
download | wireguard-apple-c2d76b9c450d50e61f6229ea9af7b6b08f92d099.tar.xz wireguard-apple-c2d76b9c450d50e61f6229ea9af7b6b08f92d099.zip |
Global: fix up strings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/Model')
-rw-r--r-- | WireGuard/WireGuard/Model/Configuration.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Model/Configuration.swift b/WireGuard/WireGuard/Model/Configuration.swift index 32f5ce4..6586c3b 100644 --- a/WireGuard/WireGuard/Model/Configuration.swift +++ b/WireGuard/WireGuard/Model/Configuration.swift @@ -39,7 +39,7 @@ struct PeerConfiguration: Codable { var preSharedKey: Data? { didSet(value) { if let value = value { - if (value.count != 32) { fatalError("Invalid pre-shared key") } + if (value.count != 32) { fatalError("Invalid preshared key") } } } } |