HomeClusterLabs Projects

Refactor: libcrmcommon: Functionize read/validate CIB secret hash

Description

Refactor: libcrmcommon: Functionize read/validate CIB secret hash

Reduces the scope of the hash variable and the need for a bunch of free
statements in "continue" paths.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Sat, Mar 1, 2:44 AM
Parents
rPde0f03cda899: Refactor: libcrmcommon: Iterate only once in pcmk__substitute_secrets()
Branches
Unknown
Tags
Unknown