]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
xfr-tsig, remove debug
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 25 Jun 2025 12:03:52 +0000 (14:03 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 25 Jun 2025 12:03:52 +0000 (14:03 +0200)
testcode/unitmain.c
testcode/unittsig.c

index acccc1c05ac320d42d483fda04361519bd8ca349..e88313ee77f4d6efd5daa9aac179c3d2df872aa3 100644 (file)
@@ -1333,7 +1333,6 @@ main(int argc, char* argv[])
        if(NSS_NoDB_Init(".") != SECSuccess)
                fatal_exit("could not init NSS");
 #endif /* HAVE_SSL or HAVE_NSS*/
-#if 0 // DEBUG
        authzone_test();
        neg_test();
        rnd_test();
@@ -1363,7 +1362,6 @@ main(int argc, char* argv[])
 #ifdef HAVE_NGTCP2
        doq_test();
 #endif /* HAVE_NGTCP2 */
-#endif // DEBUG
        tsig_test();
        if(log_get_lock()) {
                lock_basic_destroy((lock_basic_type*)log_get_lock());
index a4026118f75166338aad3e27503cb18cada2c419..172c8fc9640dc71baf8ebd8d5232d4f07429f561 100644 (file)
@@ -52,7 +52,7 @@
 #define SRCDIRSTR xstr(SRCDIR)
 
 /** verbosity for this file, 0 no, 1 print some, 2 print packet dumps */
-static int vtest = 2;
+static int vtest = 0;
 
 /**
  * Content of the TSIG test files.
@@ -732,8 +732,6 @@ tsig_test_one(const char* fname)
 void
 tsig_test(void)
 {
-       verbosity = 4; // DEBUG
-       log_file(stdout); // DEBUG
        unit_show_feature("tsig");
        tsig_test_one(SRCDIRSTR "/testdata/tsig_test.1");
        tsig_test_one(SRCDIRSTR "/testdata/tsig_test.2");