Browse Source

fix(fips): add and remove local variables

master
Antonio Alvarez Feijoo 2 years ago committed by Jóhann B. Guðmundsson
parent
commit
e8121bfddd
  1. 4
      modules.d/01fips/fips.sh

4
modules.d/01fips/fips.sh

@ -79,6 +79,7 @@ nonfatal_modprobe() { @@ -79,6 +79,7 @@ nonfatal_modprobe() {
fips_load_crypto() {
local _k
local _v
local _module
local _found

FIPSMODULES=$(cat /etc/fipsmodules)
@ -108,9 +109,6 @@ fips_load_crypto() { @@ -108,9 +109,6 @@ fips_load_crypto() {
}

do_fips() {
local _v
local _module

KERNEL=$(uname -r)

if ! getarg rd.fips.skipkernel > /dev/null; then

Loading…
Cancel
Save