4647. [bug] Change 4643 broke verification of TSIG signed TCP

message sequences where not all the messages contain
                        TSIG records.  These may be used in AXFR and IXFR
                        responses.  [RT #45509]
This commit is contained in:
Mark Andrews
2017-07-07 23:19:05 +10:00
parent 5eceaccb00
commit 398834f755
4 changed files with 509 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ SRCS = acl_test.c \
rdatasetstats_test.c \
rsa_test.c \
time_test.c \
tsig_test.c \
update_test.c \
zonemgr_test.c \
zt_test.c
@@ -81,6 +82,7 @@ TARGETS = acl_test@EXEEXT@ \
rdatasetstats_test@EXEEXT@ \
rsa_test@EXEEXT@ \
time_test@EXEEXT@ \
tsig_test@EXEEXT@ \
update_test@EXEEXT@ \
zonemgr_test@EXEEXT@ \
zt_test@EXEEXT@
@@ -226,6 +228,11 @@ rsa_test@EXEEXT@: rsa_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
rsa_test.@O@ dnstest.@O@ ${DNSLIBS} \
${ISCLIBS} ${LIBS}
tsig_test@EXEEXT@: tsig_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
tsig_test.@O@ dnstest.@O@ ${DNSLIBS} \
${ISCLIBS} ${LIBS}
unit::
sh ${top_srcdir}/unit/unittest.sh