strongswan: handle chacha20poly1305 as AEAD
authorPhilip Prindeville <redacted>
Tue, 13 Apr 2021 03:59:30 +0000 (21:59 -0600)
committerPhilip Prindeville <redacted>
Tue, 13 Apr 2021 18:46:07 +0000 (12:46 -0600)
chacha20policy1305 is also an AEAD cipher, and hence does not
permit a hash algorithm.

Fixes issue #15397.

Signed-off-by: Philip Prindeville <redacted>
net/strongswan/files/swanctl.init

index 692cc2bbe6749f574f16590dab9bc8fb0c4e8482..58f168dcf53b835e1149899e81b779bb9290f903 100644 (file)
@@ -141,6 +141,8 @@ is_aead() {
        case "$cipher" in
        aes*gcm*|aes*ccm*|aes*gmac*)
                return 0 ;;
+       chacha20poly1305)
+               return 0 ;;
        esac
 
        return 1
git clone https://git.99rst.org/PROJECT