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 <philipp@redfish-solutions.com>
This commit is contained in:
parent
c95fd69973
commit
ff33f4ccd3
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ is_aead() {
|
|||
case "$cipher" in
|
||||
aes*gcm*|aes*ccm*|aes*gmac*)
|
||||
return 0 ;;
|
||||
chacha20poly1305)
|
||||
return 0 ;;
|
||||
esac
|
||||
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue