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

The Doctor doctor at doctor.nl2k.ab.ca
Tue Feb 23 17:00:44 UTC 2016


Thank you for getting the libssl.so.1.1 issue corrected!


I found this

../test/recipes/70-test_packet.t ..........
1..1
test_PACKET_buf_init() failed
not ok 1 - running packettest

#   Failed test 'running packettest'
#   at ../test/testlib/OpenSSL/Test/Simple.pm line 70.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
../test/recipes/70-test_sslcertstatus.t ...
1..1
Proxy started on port 4453
engine "ossltest" set.
engine "ossltest" set.
136617832:error:20087002:BIO routines:BIO_lookup:system lib:b_addr.c:711:Invali
d value for ai_flags
connect:errno=2
Using default temp DH parameters
ACCEPT
136617832:error:20087002:BIO routines:BIO_lookup:system lib:b_addr.c:711:Invali
d value for ai_flags
   0 items in the session cache
   0 client connects (SSL_connect())
   0 client renegotiates (SSL_connect())
   0 client connects that finished
   0 server accepts (SSL_accept())
   0 server renegotiates (SSL_accept())
   0 server accepts that finished
   0 session cache hits
   0 session cache misses
   0 session cache timeouts
   0 callback cache hits
   0 cache full overflows (128 allowed) 

Also each morning I do have to edit b_addr.c  so that LOCALHOSt is
defined

This is what I do to compensate

#include <string.h>
#include <rpc/types.h>  

And the above error is from

# ifdef AI_ADDRCONFIG
        hints.ai_flags = AI_ADDRCONFIG;
# endif
        hints.ai_family = family;
        hints.ai_socktype = socktype;

        if (lookup_type == BIO_LOOKUP_SERVER)
            hints.ai_flags |= AI_PASSIVE;

        /* Note that |res| SHOULD be a 'struct addrinfo **' thanks to
         * macro magic in bio_lcl.h
         */
        switch ((gai_ret = getaddrinfo(host, service, &hints, res))) {
# ifdef EAI_SYSTEM
        case EAI_SYSTEM:
            SYSerr(SYS_F_GETADDRINFO, get_last_socket_error());
            BIOerr(BIO_F_BIO_LOOKUP, ERR_R_SYS_LIB);
            break;
# endif
        case 0:
            ret = 1;             /* Success */
            break;
        default:
            BIOerr(BIO_F_BIO_LOOKUP, ERR_R_SYS_LIB);
            ERR_add_error_data(1, gai_strerror(gai_ret));
            break;
        }
    } else {  

line 711 is line 710 in your case.

Please fix

-- 
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


More information about the openssl-dev mailing list