On Tue, Feb 23, 2016 at 08:33:44PM +0100, Richard Levitte wrote: > In message <[email protected]> on Tue, 23 Feb 2016 > 11:43:53 -0700, The Doctor <[email protected]> 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. >
BSDI 4.3 > In message <[email protected]> on Tue, 23 Feb 2016 > 12:16:24 -0700, The Doctor <[email protected]> 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? I just told you. BTW, the results of changes are in ../test/recipes/01-test_ordinals.t ........ ok ../test/recipes/05-test_bf.t .............. ok ../test/recipes/05-test_cast.t ............ ok ../test/recipes/05-test_des.t ............. ok ../test/recipes/05-test_hmac.t ............ ok ../test/recipes/05-test_idea.t ............ ok ../test/recipes/05-test_md2.t ............. skipped: md2 is not supported by this OpenSSL build ../test/recipes/05-test_md4.t ............. ok ../test/recipes/05-test_md5.t ............. ok ../test/recipes/05-test_mdc2.t ............ ok ../test/recipes/05-test_rand.t ............ ok ../test/recipes/05-test_rc2.t ............. ok ../test/recipes/05-test_rc4.t ............. ok ../test/recipes/05-test_rc5.t ............. ok ../test/recipes/05-test_rmd.t ............. ok ../test/recipes/05-test_sha1.t ............ ok ../test/recipes/05-test_sha256.t .......... ok ../test/recipes/05-test_sha512.t .......... ok ../test/recipes/05-test_wp.t .............. ok ../test/recipes/10-test_bn.t .............. ok ../test/recipes/10-test_exp.t ............. ok ../test/recipes/15-test_dh.t .............. ok ../test/recipes/15-test_dsa.t ............. ok ../test/recipes/15-test_ec.t .............. ok ../test/recipes/15-test_ecdh.t ............ ok ../test/recipes/15-test_ecdsa.t ........... ok ../test/recipes/15-test_rsa.t ............. ok ../test/recipes/20-test_enc.t ............. ok ../test/recipes/25-test_crl.t ............. ok ../test/recipes/25-test_gen.t ............. ok ../test/recipes/25-test_pkcs7.t ........... ok ../test/recipes/25-test_req.t ............. ok ../test/recipes/25-test_sid.t ............. ok ../test/recipes/25-test_verify.t .......... ok ../test/recipes/25-test_x509.t ............ ok ../test/recipes/30-test_engine.t .......... ok ../test/recipes/30-test_evp.t ............. 1/1 # Failed test 'running evp_test evptests.txt' # at ../test/recipes/30-test_evp.t line 11. # Looks like you failed 1 test of 1. ../test/recipes/30-test_evp.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ../test/recipes/30-test_evp_extra.t ....... ok ../test/recipes/30-test_pbelu.t ........... ok ../test/recipes/40-test_rehash.t .......... 2/5 # Failed test 'Testing that we aren't running as a priviledged user, such as root' # at ../test/recipes/40-test_rehash.t line 41. # Looks like you failed 1 test of 5. ../test/recipes/40-test_rehash.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests (less 1 skipped subtest: 3 okay) ../test/recipes/70-test_clienthello.t ..... ok ../test/recipes/70-test_packet.t .......... 1/1 # Failed test 'running packettest' # at ../test/testlib/OpenSSL/Test/Simple.pm line 70. # Looks like you failed 1 test of 1. ../test/recipes/70-test_packet.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ../test/recipes/70-test_sslcertstatus.t ... ok ../test/recipes/70-test_sslextension.t .... ok ../test/recipes/70-test_sslsessiontick.t .. ok ../test/recipes/70-test_sslskewith0p.t .... ok ../test/recipes/70-test_sslvertol.t ....... ok ../test/recipes/70-test_tlsextms.t ........ ok ../test/recipes/70-test_verify_extra.t .... ok ../test/recipes/80-test_ca.t .............. ok ../test/recipes/80-test_cms.t ............. ok ../test/recipes/80-test_dane.t ............ ok ../test/recipes/80-test_dtlsv1listen.t .... ok ../test/recipes/80-test_ocsp.t ............ ok ../test/recipes/80-test_ssl.t ............. ok ../test/recipes/80-test_tsa.t ............. ok ../test/recipes/90-test_async.t ........... ok ../test/recipes/90-test_constant_time.t ... ok ../test/recipes/90-test_gmdiff.t .......... ok ../test/recipes/90-test_heartbeat.t ....... skipped: heartbeats is not supported by this OpenSSL build ../test/recipes/90-test_ige.t ............. ok ../test/recipes/90-test_memleak.t ......... ok ../test/recipes/90-test_networking.t ...... ok ../test/recipes/90-test_np.t .............. ok ../test/recipes/90-test_p5_crpt2.t ........ ok ../test/recipes/90-test_secmem.t .......... ok ../test/recipes/90-test_srp.t ............. ok ../test/recipes/90-test_v3name.t .......... ok Test Summary Report ------------------- ../test/recipes/30-test_evp.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 ../test/recipes/40-test_rehash.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 4 Non-zero exit status: 1 ../test/recipes/70-test_packet.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=68, Tests=400, 473 wallclock secs ( 3.70 usr 2.68 sys + 301.70 cusr 83.35 csys = 391.43 CPU) Result: FAIL Failed 3/68 test programs. 3/400 subtests failed. *** Error code 255 Stop. *** Error code 1 Stop. That looks better. Anyone else testing on BSD for this iteration of OpenSSL. > > Cheers, > Richard > > -- > Richard Levitte [email protected] > OpenSSL Project http://www.openssl.org/~levitte/ > -- > openssl-dev mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism Broadcasting the truth for 25 years -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
