[openssl-dev] OPenssl-SNAP-20160223 issue test/recipes/70-test_sslcertstatus.t

Richard Levitte levitte at openssl.org
Tue Feb 23 19:33:44 UTC 2016


In message <20160223184353.GA6063 at doctor.nl2k.ab.ca> on Tue, 23 Feb 2016 11:43:53 -0700, The Doctor <doctor at doctor.nl2k.ab.ca> said:

doctor> On Tue, Feb 23, 2016 at 10:00:44AM -0700, The Doctor wrote:
doctor> > # ifdef AI_ADDRCONFIG
doctor> >         hints.ai_flags = AI_ADDRCONFIG;
doctor> > # endif
doctor> 
doctor> The above 3 lines are the issue.
doctor> 
doctor> In clamav/clamd/tcpserver.c  for me to get calmd to work properly
doctor> I need to do
doctor> 
doctor> #ifdef AI_ADDRCONFIG /*
doctor>     hints.ai_flags |= AI_ADDRCONFIG; */
doctor> #endif

That's...  interesting.  One might wonder why AI_ADDRCONFIG is
defined.

I'm still interested in knowing what platform this is on.

In message <20160223191623.GA8292 at doctor.nl2k.ab.ca> on Tue, 23 Feb 2016 12:16:24 -0700, The Doctor <doctor at doctor.nl2k.ab.ca> said:

doctor> On Tue, Feb 23, 2016 at 06:51:56PM +0100, Kurt Roeckx wrote:
doctor> > Do you mean INADDR_LOOPBACK maybe?
doctor> > What about including netinet/in.h instead?
doctor> >
doctor> 
doctor> Not in netinet/in.h

Is INADDR_LOOPBACK defined anywhere?

doctor> a quick solution would be to include the following line in b_addr.c
doctor> 
doctor> #define       INADDR_LOOPBACK         (u_long)0x7F000001                         

In the end, I think a correct solution would be preferable to the
quick hack.  If it is defined anywhere, it would be nice to know how
to get it.

And oh, what platform is this on?

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-dev mailing list