search for: rri_nrdatas

Displaying 3 results from an estimated 3 matches for "rri_nrdatas".

2007 May 21
1
[PATCH] Add support for ldns
...); static struct dns_query *parse_dns_qsection(const u_char *, int, const u_char **, int); @@ -345,37 +354,6 @@ return (result); } -void -freerrset(struct rrsetinfo *rrset) -{ - u_int16_t i; - - if (rrset == NULL) - return; - - if (rrset->rri_rdatas) { - for (i = 0; i < rrset->rri_nrdatas; i++) { - if (rrset->rri_rdatas[i].rdi_data == NULL) - break; - free(rrset->rri_rdatas[i].rdi_data); - } - free(rrset->rri_rdatas); - } - - if (rrset->rri_sigs) { - for (i = 0; i < rrset->rri_nsigs; i++) { - if (rrset->rri_sigs[i].rdi_data == NULL) - break; - f...
2003 Sep 08
1
please test (HEADER.ad)
...39;t need to edit below this line ************** */ --- openssh/openbsd-compat/getrrsetbyname.c.old 2003-09-08 06:29:05.644640000 -0700 +++ openssh/openbsd-compat/getrrsetbyname.c 2003-09-08 10:08:28.004080003 -0700 @@ -243,9 +243,11 @@ rrset->rri_ttl = response->answer->ttl; rrset->rri_nrdatas = response->header.ancount; +#ifdef HAVE_HEADER_AD /* check for authenticated data */ if (response->header.ad == 1) rrset->rri_flags |= RRSET_VALIDATED; +#endif /* copy name from answer section */ length = strlen(response->answer->name);
2003 May 15
2
Resolver changes broke AIX & HPUX
Hi All. Haven't looked at this yet but it looks like the resolver changes broke AIX and HP-UX. -Daz. AIX 4.3.3.11: gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I../../openbsd-compat -I../../openbsd-compat/.. -I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c ../../openbsd-compat/getrrsetbyname.c ../../openbsd-compat/getrrsetbyname.c:133: warning: static