Displaying 2 results from an estimated 2 matches for "_compat_res".
2007 Mar 12
1
Redefinition of _res in getrrsetbyname.c
...gure out why
OpenSSH won't use DNSSEC on my NetBSD-4-branch platform.
It turns out that around line 70 in openbsd-compat/getrrsetbyname.c, we
have the following:
/* to avoid conflicts where a platform already has _res */
#ifdef _res
# undef _res
#endif
#define _res _compat_res
struct __res_state _res;
This defines a global, _compat_res, used only by OpenSSH (at least on
NetBSD), and makes _res be that instead of the "real" _res (however that
might be defined on various platforms).
_res is used only in the getrrsetbyname function, which never
initializes...
2007 Mar 16
2
[Bug 1299] Remove redefinition of _res in getrrsetbyname.c
...SSHFP fingerprints available via DNSSEC, because it
doesn't turn on DNSSEC to request them.
Around line 70 in openbsd-compat/getrrsetbyname.c, we have the
following:
/* to avoid conflicts where a platform already has _res */
#ifdef _res
# undef _res
#endif
#define _res _compat_res
struct __res_state _res;
This defines a global, _compat_res, used only by OpenSSH (at least on
NetBSD), and makes _res be that instead of the "real" _res (however
that
might be defined on various platforms).
_res is used only in the getrrsetbyname function, which never
initializes...