]> git.proxmox.com Git - mirror_corosync.git/commit
config: Properly check crypto and compress models
authorJan Friesse <jfriesse@redhat.com>
Fri, 9 Apr 2021 10:21:15 +0000 (12:21 +0200)
committerJan Friesse <jfriesse@redhat.com>
Wed, 14 Apr 2021 16:07:20 +0000 (18:07 +0200)
commit52d457a4554d0b0866915924d6f7b7cc7153b9a1
tree1618c39ff6717484fd61aa68ccfc88504d80ac1d
parent60c9845d8daad9362fb2ce0ed120c273f323d783
config: Properly check crypto and compress models

Use knet_get_crypto_list to find knet supported crypto models and use
them instead of hardcoded list.

Also fix compression handling. Previously knet_compression_model
value was not checked at all and was directly passed to knet.

Use knet_get_compress_list to find knet supported compress models and
use them to check validity of config file and for more informative
error message.

Lastly enhance corosync version display with information
about available crypto/compression models.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
exec/coroparse.c
exec/main.c
exec/totemconfig.c
exec/util.c
exec/util.h
man/corosync.8
man/corosync.conf.5
vqsim/Makefile.am