From: Philip Prindeville Date: Tue, 13 Apr 2021 03:59:30 +0000 (-0600) Subject: strongswan: handle chacha20poly1305 as AEAD X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ff33f4ccd358a8f4a9981a83c7b3807fa16cafb5;p=openwrt-packages.git strongswan: handle chacha20poly1305 as AEAD chacha20policy1305 is also an AEAD cipher, and hence does not permit a hash algorithm. Fixes issue #15397. Signed-off-by: Philip Prindeville --- diff --git a/net/strongswan/files/swanctl.init b/net/strongswan/files/swanctl.init index 692cc2bbe..58f168dcf 100644 --- a/net/strongswan/files/swanctl.init +++ b/net/strongswan/files/swanctl.init @@ -141,6 +141,8 @@ is_aead() { case "$cipher" in aes*gcm*|aes*ccm*|aes*gmac*) return 0 ;; + chacha20poly1305) + return 0 ;; esac return 1