]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Assert tsigout is non-NULL
authorMark Andrews <marka@isc.org>
Tue, 7 Jul 2020 09:12:35 +0000 (19:12 +1000)
committerMark Andrews <marka@isc.org>
Mon, 13 Jul 2020 03:21:12 +0000 (13:21 +1000)
(cherry picked from commit 827746e89b4b1b72d6d3dccb849f98d6918c03a2)

lib/dns/tests/tsig_test.c

index b75e9c9936c10bd15bccd433de77ebb8ac384ccc..8b1bdfb21e2372729c8a38acaf1d64d7b3bd63d8 100644 (file)
@@ -317,6 +317,7 @@ tsig_tcp_test(void **state) {
         */
        isc_buffer_allocate(dt_mctx, &buf, 65535);
        render(buf, DNS_MESSAGEFLAG_QR, key, &querytsig, &tsigout, NULL);
+       assert_non_null(tsigout);
 
        /*
         * Process response message 1.