search for: ldns_resolver_new_frm_fil

Displaying 2 results from an estimated 2 matches for "ldns_resolver_new_frm_fil".

2013 Jun 09
7
[Bug 2119] New: SSHFP with DNSSEC – no trust anchors given, validation always fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2119 Bug ID: 2119 Summary: SSHFP with DNSSEC ? no trust anchors given, validation always fails Product: Portable OpenSSH Version: 6.2p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component:
2007 May 21
1
[PATCH] Add support for ldns
...(rdclass == 0xff || rdtype == 0xff) { + result = ERRSET_INVAL; + goto fail; + } + + /* don't allow flags yet, unimplemented */ + if (flags) { + result = ERRSET_INVAL; + goto fail; + } + + /* initialize resolver */ + domain = ldns_dname_new_frm_str(hostname); + if ((err = ldns_resolver_new_frm_file(&ldns_res, NULL)) != LDNS_STATUS_OK) { /* Initialize resolver from resolv.conf */ + result = ERRSET_FAIL; + goto fail; + } + +#ifdef DEBUG + ldns_resolver_set_debug(ldns_res, true); +#endif /* DEBUG */ + + ldns_resolver_set_dnssec(ldns_res, true); /* Use DNSSEC, since ldns support...