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