summaryrefslogtreecommitdiff
path: root/openbsd-compat/getrrsetbyname.c
AgeCommit message (Collapse)Author
2015-09-17Force use of DNSSEC even if "options edns0" isn't in resolv.confColin Watson
This allows SSHFP DNS records to be verified if glibc 2.11 is installed. Origin: vendor, https://cvs.fedoraproject.org/viewvc/F-12/openssh/openssh-5.2p1-edns.patch?revision=1.1&view=markup Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572049 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572049 Last-Update: 2010-04-06 Patch-Name: dnssec-sshfp.patch
2011-11-04 - (dtucker) [INSTALL LICENCE configure.ac openbsd-compat/Makefile.inDarren Tucker
openbsd-compat/getrrsetbyname-ldns.c openbsd-compat/getrrsetbyname.c] bz 1320: Add optional support for LDNS, a BSD licensed DNS resolver library which supports DNSSEC. Patch from Simon Vallet (svallet at genoscope cns fr) with some rework from myself and djm. ok djm.
2009-07-13 - (dtucker) [openbsd-compat/getrrsetbyname.c] Reduce answer buffer size so itDarren Tucker
fits into 16 bits to work around a bug in glibc's resolver where it masks off the buffer size at 16 bits. Patch from Hauke Lampe, ok djm jakob.
2007-10-26 - jakob@cvs.openbsd.org 2007/10/11 18:36:41Damien Miller
[openbsd-compat/getrrsetbyname.c] use RRSIG instead of SIG for DNSSEC. ok djm@
2007-04-29 - (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1299: Use theDarren Tucker
platform's _res if it has one. Should fix problem of DNSSEC record lookups on NetBSD as reported by Curt Sampson.
2007-02-19 - (dtucker) [openbsd-compat/getrrsetbyname.c] Don't attempt to callocDarren Tucker
an array for signatures when there are none since "calloc(0, n) returns NULL on some platforms (eg Tru64), which is explicitly permitted by POSIX. Diagnosis and patch by svallet genoscope.cns.fr.
2006-09-02 - (dtucker) [ssh-keyscan.c ssh-rand-helper.c ssh.c sshconnect.cDarren Tucker
openbsd-compat/bindresvport.c openbsd-compat/getrrsetbyname.c openbsd-compat/port-tun.c openbsd-compat/rresvport.c] Include <arpa/inet.h> for hton* and ntoh* macros. Required on (at least) HP-UX since we define _XOPEN_SOURCE_EXTENDED. Found by santhi.amirta at gmail com.
2006-08-05 - (dtucker) [openbsd-compat/getrrsetbyname.c] Nees stdlib.h for malloc.Darren Tucker
2006-07-24 - (djm) [acss.c auth-krb5.c auth-options.c auth-pam.c auth-shadow.c]Damien Miller
[canohost.c channels.c cipher-acss.c defines.h dns.c gss-genr.c] [gss-serv-krb5.c gss-serv.c log.h loginrec.c logintest.c readconf.c] [servconf.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c] [ssh.c sshconnect.c sshd.c openbsd-compat/bindresvport.c] [openbsd-compat/bsd-arc4random.c openbsd-compat/bsd-misc.c] [openbsd-compat/getrrsetbyname.c openbsd-compat/glob.c] [openbsd-compat/mktemp.c openbsd-compat/port-linux.c] [openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c] [openbsd-compat/setproctitle.c openbsd-compat/xmmap.c] make the portable tree compile again - sprinkle unistd.h and string.h back in. Don't redefine __unused, as it turned out to be used in headers on Linux, and replace its use in auth-pam.c with ARGSUSED
2006-06-30 - (dtucker) [openbsd-compat/getrrsetbyname.c] Undef _res before defining it,Darren Tucker
prevents warnings on platforms where _res is in the system headers.
2006-05-15 - (dtucker) [openbsd-compat/getrrsetbyname.c] Use _compat_res instead ofDarren Tucker
_res, prevents problems on some platforms that have _res as a global but don't have getrrsetbyname(), eg IRIX 5.3. Found and tested by georg.schwarz at freenet.de, ok djm@.
2005-11-12 - (dtucker) [openbsd-compat/getrrsetbyname.c] Restore Portable-specificDarren Tucker
ifdef lost during sync. Spotted by tim@.
2005-11-10 - (dtucker) [openbsd-compat/{LOTS}] Move the "OPENBSD ORIGINAL" markers toDarren Tucker
after the copyright notices. Having them at the top next to the CVSIDs guarantees a conflict for each and every sync.
2005-11-05 - (djm) [openbsd-compat/getrrsetbyname.c] Sync to latest OpenBSD version,Damien Miller
resolving memory leak bz#1111 reported by kremenek AT cs.stanford.edu; ok dtucker@
2005-05-26 - (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1033: ProvideDarren Tucker
templates for _getshort and _getlong if missing to prevent compiler warnings on Linux.
2004-08-29 - (dtucker) [openbsd-compat/getrrsetbyname.c] Prevent getrrsetbyname fromDarren Tucker
failing with NOMEMORY if no sigs are returned and malloc(0) returns NULL. From Martin.Kraemer at Fujitsu-Siemens.com; ok djm@
2004-05-13 - (dtucker) [openbsd-compat/getrrsetbyname.c] Fix typo too: HAVE_DECL_H_ERRORDarren Tucker
-> HAVE_DECL_H_ERRNO.
2004-05-13 - (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERRORDarren Tucker
is defined before using.
2004-04-23 - (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errnoDarren Tucker
as extern int if not already declared. Fixes compile errors on old SCO platforms. ok tim@
2004-02-23[openbsd-compat/getrrsetbyname.c] Make gcc 2.7.2.3 happy. ok djm@Tim Rice
2003-11-24 - (djm) Annotate OpenBSD-derived files in openbsd-compat/ with originalDamien Miller
source file path (in OpenBSD tree).
2003-10-15Fix comments to reflect recent change.Darren Tucker
2003-10-15 - (dtucker) [acconfig.h configure.ac dns.c openbsd-compat/getrrsetbyname.cDarren Tucker
openbsd-compat/getrrsetbyname.h] DNS fingerprint support is now always compiled in but disabled in config.
2003-09-08[configure.ac acconfig.h openbsd-compat/getrrsetbyname.c] test forTim Rice
HEADER.ad in arpa/nameser.h
2003-09-08[configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort andTim Rice
_getlong in #ifndef
2003-05-18 - (djm) Sync openbsd-compat/ with OpenBSD CVS headDamien Miller
2003-05-15 - (djm) Only build getrrsetbyname replacement when using --with-dnsDamien Miller
2003-05-15 - (djm) Import getrrsetbyname() function from OpenBSD libc (for DNS support)Damien Miller