dnssec-policy: reduce NSEC3 iterations to 150

When reducing the number of NSEC3 iterations to 150, commit
aa26cde2 added tests for dnssec-policy
to check that a too high iteration count is a configuration failure.

The test is not sufficient because 151 was always too high for
ECDSAP256SHA256. The test should check for a different algorithm.

There was an existing test case that checks for NSEC3 iterations.
Update the test with the new maximum values.

Update the code in 'kaspconf.c' to allow at most 150 iterations.

(cherry picked from commit efa5d84d)
77 jobs for !4954 with matthijs-follow-up-2642-nsec3-iter-kasp-9_16 in 7 minutes and 57 seconds (queued for 25 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed #1677660
amd64 linux
autoreconf

00:00:18

passed #1677662
amd64 linux
clang-format

00:00:31

passed #1677663
amd64 linux
coccinelle

00:03:42

passed #1677664
amd64 linux
danger

00:00:21

passed #1677661
amd64 linux
misc

00:00:32

 
  Build
passed #1677679
amd64 linux
clang:asan

00:03:49

passed #1677686
amd64 linux
clang:buster:amd64

00:02:01

passed #1677689
amd64 libvirt
clang:freebsd11:amd64

00:01:48

passed #1677690
amd64 libvirt
clang:freebsd12:amd64

00:01:57

passed #1677691
amd64 libvirt
clang:openbsd:amd64

00:04:01

passed #1677682
amd64 linux
clang:tsan

00:02:14

passed #1677665
amd64 linux
gcc:alpine3.13:amd64

00:01:50

passed #1677677
amd64 linux
gcc:asan

00:03:34

passed #1677669
amd64 linux
gcc:buster:amd64

00:01:22

passed #1677666
amd64 linux
gcc:centos7:amd64

00:01:31

passed #1677667
amd64 linux
gcc:centos8:amd64

00:01:40

passed #1677675
amd64 linux
gcc:focal:amd64

00:01:35

passed #1677684
amd64 linux
gcc:mutexatomics

00:01:38

passed #1677671
amd64 linux
gcc:out-of-tree

00:01:51

passed #1677670
amd64 linux
gcc:sid:amd64

00:01:53

passed #1677672
i386 linux
gcc:sid:i386

00:01:46

passed #1677687
amd64 linux
gcc:softhsm2.4

00:01:45

passed #1677688
amd64 linux
gcc:softhsm2.6

00:01:42

passed #1677668
amd64 linux
gcc:stretch:amd64

00:01:50

passed #1677680
amd64 linux
gcc:tsan

00:01:55

passed #1677673
amd64 linux
gcc:tumbleweed:amd64

00:01:28

passed #1677674
amd64 linux
gcc:xenial:amd64

00:01:45

passed #1677693
amd64 windows
msvc:windows:amd64

00:01:07

passed #1677692
amd64 linux
nolibtool:sid:amd64

00:02:04

 
  Unit
passed #1677705
amd64 linux
unit:clang:asan

00:01:13

passed #1677709
amd64 linux
unit:clang:buster:amd64

00:00:40

passed #1677712
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:00

passed #1677713
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:04

passed #1677707
amd64 linux
unit:clang:tsan

00:01:18

passed #1677694
amd64 linux
unit:gcc:alpine3.13:amd64

00:00:56

passed #1677704
amd64 linux
unit:gcc:asan

00:01:16

passed #1677698
amd64 linux
unit:gcc:buster:amd64

00:00:54

passed #1677695
amd64 linux
unit:gcc:centos7:amd64

00:00:39

passed #1677696
amd64 linux
unit:gcc:centos8:amd64

00:00:39

passed #1677703
amd64 linux
unit:gcc:focal:amd64

00:00:41

passed #1677708
amd64 linux
unit:gcc:mutexatomics

00:00:37

passed #1677699
amd64 linux
unit:gcc:sid:amd64

00:00:37

passed #1677700
i386 linux
unit:gcc:sid:i386

00:00:40

passed #1677710
amd64 linux
unit:gcc:softhsm2.4

00:00:39

passed #1677711
amd64 linux
unit:gcc:softhsm2.6

00:00:40

passed #1677697
amd64 linux
unit:gcc:stretch:amd64

00:00:36

passed #1677706
amd64 linux
unit:gcc:tsan

00:01:40

passed #1677701
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:37

passed #1677702
amd64 linux
unit:gcc:xenial:amd64

00:00:37

passed #1677714
amd64 linux
unit:nolibtool:sid:amd64

00:00:53

 
  System
canceled #1677726
amd64 linux
system:clang:asan

00:01:45

canceled #1677730
amd64 linux
system:clang:buster:amd64

00:01:40

canceled #1677733
amd64 libvirt
system:clang:freebsd11:amd64

00:05:42

canceled #1677734
amd64 libvirt
system:clang:freebsd12:amd64

00:05:07

canceled #1677728
amd64 linux
system:clang:tsan

00:01:55

canceled #1677715
amd64 linux
system:gcc:alpine3.13:amd64

00:02:52

canceled #1677725
amd64 linux
system:gcc:asan

00:02:12

canceled #1677719
amd64 linux
system:gcc:buster:amd64

00:02:39

canceled #1677716
amd64 linux
system:gcc:centos7:amd64

00:02:52

canceled #1677717
amd64 linux
system:gcc:centos8:amd64

00:02:50

canceled #1677724
amd64 linux
system:gcc:focal:amd64

00:02:15

canceled #1677729
amd64 linux
system:gcc:mutexatomics

00:01:41

canceled #1677720
amd64 linux
system:gcc:sid:amd64

00:02:36

canceled #1677721
i386 linux
system:gcc:sid:i386

00:02:32

canceled #1677731
amd64 linux
system:gcc:softhsm2.4

00:01:39

canceled #1677732
amd64 linux
system:gcc:softhsm2.6

00:01:39

canceled #1677718
amd64 linux
system:gcc:stretch:amd64

00:02:41

canceled #1677727
amd64 linux
system:gcc:tsan

00:01:56

canceled #1677722
amd64 linux
system:gcc:tumbleweed:amd64

00:02:21

canceled #1677723
amd64 linux
system:gcc:xenial:amd64

00:02:20

canceled #1677735
amd64 linux
system:nolibtool:sid:amd64

00:01:31

 
  Docs
canceled #1677736
amd64 linux
docs

00:01:20

 
  Postcheck
passed #1677740
amd64 linux
cppcheck

00:00:22

passed #1677737
amd64 linux
flake8

00:00:18

canceled #1677741
amd64 linux
gcov

passed #1677738
amd64 linux
pylint

00:00:23

canceled #1677739
amd64 linux
scan-build

00:00:54