git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/addns: remove pointless check for resp->num_additionals != 1
[sfrench/samba-autobuild/.git]
/
lib
/
addns
/
dnsgss.c
diff --git
a/lib/addns/dnsgss.c
b/lib/addns/dnsgss.c
index 64a7d859a0ea6d544265a3e7e2afbef46f9fd7a0..c22173468d50f83a7b2b4285b859a300bb132bfb 100644
(file)
--- 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;