Pass rndc test also in FIPS mode

In FIPS mode, rndc-keygen has to switch itself to algorithm different
than default hmac-md5. It should fail with hmac-md5 in that mode, but
should pass if algorithm was not given explicitly.
This commit is contained in:
Petr Menšík 2019-11-25 12:03:14 +01:00
commit afc99941af

View file

@ -85,7 +85,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest "Manual confgen test"
rlRun "rndc-confgen -a -A hmac-md5" 0
rlRun "rndc-confgen -a" 0
RETURN=0 # it depends on fips mode status
rlRun "systemctl restart named-pkcs11" 0
for i in `seq 1 10`;do rndc reload;done