From ff33f4ccd358a8f4a9981a83c7b3807fa16cafb5 Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Mon, 12 Apr 2021 21:59:30 -0600 Subject: [PATCH] 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 --- net/strongswan/files/swanctl.init | 2 ++ 1 file changed, 2 insertions(+) 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