Skip to content

Fix fips mode detection in gcrypt backend.

Ondrej Kozina requested to merge oniko/cryptsetup:gcrypt-fips-detection-fix into main

gcry_fips_mode_active must not be called before gcry_check_version. Let's initialize backend in before fips mode detection if it needs to.

For reference see: libgcrypt documentation

Merge request reports