]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
suggested alternate test for TSIG signature
authorEvan Hunt <each@isc.org>
Tue, 29 Jan 2019 19:56:17 +0000 (11:56 -0800)
committerEvan Hunt <each@isc.org>
Wed, 30 Jan 2019 19:46:11 +0000 (11:46 -0800)
feel free to remove this commit if you prefer the other method.

bin/tests/system/tsiggss/tests.sh

index 35d02756bbb487037e75ee49cb60ed86bd52580a..d4c9400ece0f8142c280b9c27acc0762a3cfb9c7 100644 (file)
@@ -40,7 +40,7 @@ EOF
     }
 
     # Weak verification that TKEY response is signed.
-    grep "flags: qr; QUESTION: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" nsupdate.out${num} > /dev/null || {
+    grep "TSIG PSEUDOSECTION" nsupdate.out${num} > /dev/null || {
        echo "I:bad tkey response (not tsig signed)"
        return 1
     }