Skip to content

Commit

Permalink
fix(fips): add and remove local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aafeijoo-suse authored and johannbg committed Feb 2, 2022
1 parent 7f10c48 commit e8121bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules.d/01fips/fips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ nonfatal_modprobe() {
fips_load_crypto() {
local _k
local _v
local _module
local _found

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

do_fips() {
local _v
local _module

KERNEL=$(uname -r)

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

0 comments on commit e8121bf

Please sign in to comment.