diff options
author | 2007-02-19 10:18:01 +0000 | |
---|---|---|
committer | 2007-02-19 10:18:01 +0000 | |
commit | 2b3c62dab28851e0531b584b4cd3a10d5c041737 (patch) | |
tree | 953d29cde5080b9c01ee0e976583e89f94cb04fd | |
parent | we have to use '-k' now to show keys. (diff) | |
download | wireguard-openbsd-2b3c62dab28851e0531b584b4cd3a10d5c041737.tar.xz wireguard-openbsd-2b3c62dab28851e0531b584b4cd3a10d5c041737.zip |
add a test for null encryption
-rw-r--r-- | regress/sbin/ipsecctl/sa9.in | 4 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/sa9.ok | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/regress/sbin/ipsecctl/sa9.in b/regress/sbin/ipsecctl/sa9.in index c5e50660dde..edbac916aba 100644 --- a/regress/sbin/ipsecctl/sa9.in +++ b/regress/sbin/ipsecctl/sa9.in @@ -40,3 +40,7 @@ esp from 1.1.1.9 to 2.2.2.2 spi 0x9eadbeef:0xbeef9ead \ auth hmac-sha1 \ authkey file "DIR/ak160:DIR/ak160" \ enckey file "DIR/ek80:DIR/ek80" +esp from 1.1.1.10 to 2.2.2.2 spi 0xaeadbeef:0xbeefaead \ + enc null \ + auth hmac-sha1 \ + authkey file "DIR/ak160:DIR/ak160" diff --git a/regress/sbin/ipsecctl/sa9.ok b/regress/sbin/ipsecctl/sa9.ok index 677ca933976..3737c0e26dc 100644 --- a/regress/sbin/ipsecctl/sa9.ok +++ b/regress/sbin/ipsecctl/sa9.ok @@ -50,3 +50,7 @@ esp tunnel from 1.1.1.9 to 2.2.2.2 spi 0x9eadbeef auth hmac-sha1 enc skipjack \ esp tunnel from 2.2.2.2 to 1.1.1.9 spi 0xbeef9ead auth hmac-sha1 enc skipjack \ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \ enckey 0xeeeeeeeeeeeeeeeeeeee +esp tunnel from 1.1.1.10 to 2.2.2.2 spi 0xaeadbeef auth hmac-sha1 enc null \ + authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +esp tunnel from 2.2.2.2 to 1.1.1.10 spi 0xbeefaead auth hmac-sha1 enc null \ + authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |