Displaying 3 results from an estimated 3 matches for "rri_ttl".
Did you mean:
rri_alt
2003 Sep 08
1
please test (HEADER.ad)
..._AD
+
@BOTTOM@
/* ******************* Shouldn'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(respons...
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
2007 May 21
1
[PATCH] Add support for ldns
...size(ldns_rr_owner(ldns_rr_list_rr(rrdata, 0))));
+ if (rrset->rri_name == NULL) {
+ result = ERRSET_NOMEMORY;
+ goto fail;
+ }
+
+ rrset->rri_rdclass = ldns_rr_get_class(ldns_rr_list_rr(rrdata, 0));
+ rrset->rri_rdtype = ldns_rr_get_type(ldns_rr_list_rr(rrdata, 0));
+ rrset->rri_ttl = ldns_rr_ttl(ldns_rr_list_rr(rrdata, 0));
+
+ debug2("ldns: Got %u answers from DNS", rrset->rri_nrdatas);
+
+ /* Check for authenticated data */
+ if (ldns_pkt_ad(pkt)) {
+ rrset->rri_flags |= RRSET_VALIDATED;
+ } else { /* AD is not set, try autonomous validation */
+...