]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add one missing check to nsec3param unit test
authorMatthijs Mekking <matthijs@isc.org>
Thu, 26 Nov 2020 12:37:24 +0000 (13:37 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 26 Nov 2020 12:40:22 +0000 (12:40 +0000)
Caught this missing check with clang-build while backporting #1620
to the v9_16 branch.

lib/dns/tests/nsec3param_test.c

index 7cb46f2ab148c6c9cf68adf936d037ed657886c3..3ae5da4168422e0d8d84493ee08f63dfb65564d4 100644 (file)
@@ -155,7 +155,7 @@ nsec3param_change_test(const nsec3param_change_test_params_t *test) {
         */
        result = dns__zone_lookup_nsec3param(zone, &lookup, &param, saltbuf,
                                             test->resalt);
-
+       assert_int_equal(result, test->expected_result);
        assert_int_equal(param.hash, expect.hash);
        assert_int_equal(param.flags, expect.flags);
        assert_int_equal(param.iterations, expect.iterations);