79-test_http.t and 80-test_cmp_http.t fail on 3.0.16 if ipv6 is disabled (?)

Zube <Zube-7u1nYw+DxMeVG/[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
Most of my machines have ipv6.disable=1 on the kernel line.

On those machines, for 3.0.15, all tests passed.

On 3.0.16, I get:

**
ocsp: Error starting accept
40A40B25FE7E0000:error:80000061:system library:BIO_socket:Address family not supported by protocol:crypto/bio/bio_sock2.c:50:calling socket()
40A40B25FE7E0000:error:10000076:BIO routines:BIO_socket:unable to create socket:crypto/bio/bio_sock2.c:52:
40A40B25FE7E0000:error:80000061:system library:acpt_state:Address family not supported by protocol:crypto/bio/bss_acpt.c:235:calling socket(::, 0)
40A40B25FE7E0000:error:10000076:BIO routines:acpt_state:unable to create socket:crypto/bio/bss_acpt.c:238:
../../util/wrap.pl ../../apps/openssl ocsp -index any -port 0 => 1
Use of uninitialized value $output[0] in substitution (s///) at test/recipes/79-test_http.t line 22.
Use of uninitialized value $output[0] in pattern match (m//) at test/recipes/79-test_http.t line 23.
not ok 1 - HTTP server auto-selects and reports local port >= 1024 and pid > 0
79-test_http.t ..................... 1/? ---------------------------------------
79-test_http.t ..................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
80-test_ca.t ....................... ok
80-test_cipherbytes.t .............. ok
80-test_cipherlist.t ............... ok
80-test_ciphername.t ............... ok
80-test_cmp_http.t .................
Current directory is /src/ssl/openssl-3.0.16/test/recipes/80-test_cmp_http_data/Mock
Launching mock server: ../../../../util/wrap.pl ../../../../apps/openssl cmp -config server.cnf
Pid is: 347483
Server output: cmp_main:apps/cmp.c:2833:CMP info: using section(s) 'cmp' of OpenSSL configuration file 'server.cnf'
Server output: CMP error: Address family not supported by protocol:calling socket()
Killing mock server with pid=347483
Cannot start or find the started CMP mock server at test/recipes/80-test_cmp_http.t line 186, <$server_fh> line 2.
80-test_cmp_http.t ................. Dubious, test returned 29 (wstat 7424, 0x1d00)
**

As a sanity check, I built 3.0.16 on a machine that does not have
ipv6.disable=1 and all tests passed.

Cheers

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/Z6uMTNhECaux5sjt%40quantum.stat.colostate.edu.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.