aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/netns.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-03 21:50:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-03 21:51:18 +0100
commit897548e927fc90d13a19e1b1f29a549e7f885621 (patch)
treed27bc7200af21ab98724973011b5a78de6dcdba8 /src/tests/netns.sh
parentchacha20poly1305: permit unaligned strides on certain platforms (diff)
downloadwireguard-monolithic-historical-897548e927fc90d13a19e1b1f29a549e7f885621.tar.xz
wireguard-monolithic-historical-897548e927fc90d13a19e1b1f29a549e7f885621.zip
noise: store clamped key instead of raw key
Diffstat (limited to 'src/tests/netns.sh')
-rwxr-xr-xsrc/tests/netns.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/netns.sh b/src/tests/netns.sh
index 46c30e5..91111f6 100755
--- a/src/tests/netns.sh
+++ b/src/tests/netns.sh
@@ -483,6 +483,8 @@ n0 wg set wg0 peer "$pub2"
n0 wg set wg0 private-key <(echo "$key1")
n0 wg set wg0 peer "$pub2"
[[ $(n0 wg show wg0 peers) == "$pub2" ]]
+n0 wg set wg0 private-key <(echo "/${key1:1}")
+[[ $(n0 wg show wg0 private-key) == "+${key1:1}" ]]
ip0 link del wg0
declare -A objects