Re: 79-test_http.t and 80-test_cmp_http.t fail on 3.0.16 if ipv6 is disabled (?)
Viktor Dukhovni <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 11, 2025 at 10:43:40AM -0700, Zube wrote:
> 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:
You should have better luck with the below short-term work-around:
--- a/apps/lib/http_server.c
+++ b/apps/lib/http_server.c
@@ -222,7 +222,7 @@ BIO *http_server_init_bio(const char *prog, const char *port)
int asock;
char name[40];
- snprintf(name, sizeof(name), "[::]:%s", port); /* port may be "0" */
+ snprintf(name, sizeof(name), "0.0.0.0:%s", port); /* port may be "0" */
bufbio = BIO_new(BIO_f_buffer());
if (bufbio == NULL)
goto err;
--
Viktor.
--
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/Z6uTNtX1YSSyhS-p%40chardros.imrryr.org.