Changeset 773 for branches/samba-3.5.x/source3/libaddns
- Timestamp:
- Jul 2, 2013, 7:27:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/libaddns/dnsgss.c
r596 r773 165 165 struct dns_buffer *buf; 166 166 struct dns_tkey_record *tkey; 167 struct dns_rrec *tkey_answer = NULL; 168 uint16_t i; 167 169 168 170 err = dns_receive(mem_ctx, conn, &buf); … … 175 177 * TODO: Compare id and keyname 176 178 */ 177 178 if ((resp->num_additionals != 1) || 179 (resp->num_answers == 0) || 180 (resp->answers[0]->type != QTYPE_TKEY)) { 179 180 for (i=0; i < resp->num_answers; i++) { 181 if (resp->answers[i]->type != QTYPE_TKEY) { 182 continue; 183 } 184 185 tkey_answer = resp->answers[i]; 186 } 187 188 if (tkey_answer == NULL) { 181 189 err = ERROR_DNS_INVALID_MESSAGE; 182 190 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.