HomeClusterLabs Projects

totemknet: Check both cipher and hash for crypto

Description

totemknet: Check both cipher and hash for crypto

Previously only crypto cipher was used as a way to find out if crypto is
enabled or disabled.

This usually works ok until cipher is set to none and hash to some other
value (like sha1). Such config is perfectly valid and it was not
supported correctly.

As a solution, check both cipher and hash.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>

Details

Provenance
jfriesseAuthored on Nov 10 2020, 12:10 PM
Parents
rC3d5481c9efd5: The ring id file needn't be executable
Branches
Unknown
Tags
Unknown

Event Timeline