summaryrefslogtreecommitdiff
path: root/openbsd-compat/getrrsetbyname-ldns.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-09-07 00:20:47 +0100
committerColin Watson <cjwatson@debian.org>2012-09-07 00:20:47 +0100
commiteab78da6a54225de06271d9c8da650f04a55ed88 (patch)
treeaa258ca77515939f6d89317ff67fbcb0bca08b24 /openbsd-compat/getrrsetbyname-ldns.c
parenta26f5de49df59322fde07f7be91b3e3969c9c238 (diff)
parentc6a2c0334e45419875687d250aed9bea78480f2e (diff)
* New upstream release (http://www.openssh.com/txt/release-6.1).
- Enable pre-auth sandboxing by default for new installs. - Allow "PermitOpen none" to refuse all port-forwarding requests (closes: #543683).
Diffstat (limited to 'openbsd-compat/getrrsetbyname-ldns.c')
-rw-r--r--openbsd-compat/getrrsetbyname-ldns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/getrrsetbyname-ldns.c b/openbsd-compat/getrrsetbyname-ldns.c
index 8ce5678c9..19666346b 100644
--- a/openbsd-compat/getrrsetbyname-ldns.c
+++ b/openbsd-compat/getrrsetbyname-ldns.c
@@ -205,7 +205,8 @@ getrrsetbyname(const char *hostname, unsigned int rdclass,
205 } 205 }
206 206
207 if (rr->_rr_class == rrset->rri_rdclass && 207 if (rr->_rr_class == rrset->rri_rdclass &&
208 rr->_rr_type == LDNS_RR_TYPE_RRSIG) { 208 rr->_rr_type == LDNS_RR_TYPE_RRSIG &&
209 rrset->rri_sigs) {
209 rdata = &rrset->rri_sigs[index_sig++]; 210 rdata = &rrset->rri_sigs[index_sig++];
210 } 211 }
211 212