summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/addns/dnsgss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/addns/dnsgss.c b/lib/addns/dnsgss.c
index 64a7d859a0..c22173468d 100644
--- a/lib/addns/dnsgss.c
+++ b/lib/addns/dnsgss.c
@@ -175,8 +175,7 @@ static DNS_ERROR dns_negotiate_gss_ctx_int( TALLOC_CTX *mem_ctx,
* TODO: Compare id and keyname
*/
- if ((resp->num_additionals != 1) ||
- (resp->num_answers == 0) ||
+ if ((resp->num_answers == 0) ||
(resp->answers[0]->type != QTYPE_TKEY)) {
err = ERROR_DNS_INVALID_MESSAGE;
goto error;