Changeset 862 for trunk/server/lib/addns/dnsgss.c
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/lib/addns/dnsgss.c
r745 r862 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.