hurd: Fix dgram_sendmmsg
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 13 Jan 2024 00:03:56 +0000 (01:03 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 16 Jan 2024 10:49:32 +0000 (11:49 +0100)
commit2f85736e9c66248528f132d46508f06a0bb8dd88
tree97df1db4a5799ab0b4fbae7c3830716100072ea3
parent7698f80ab17190be8d6950d8836222a375245ed8
hurd: Fix dgram_sendmmsg

GNU/Hurd does not have IP_PKTINFO yet, thus SUPPORT_LOCAL_ADDR is undef,
data->local_addr_enabled never set to 1, and thus the M_METHOD_RECVMSG
method would end up raising BIO_R_LOCAL_ADDR_NOT_AVAILABLE immediately.

Fixes #22872

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23293)
crypto/bio/bss_dgram.c